Products

Solutions

Learn More

Partners

Community

Blog

About

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsSkinsSkinsPrevent page reload on Drag&DropPrevent page reload on Drag&Drop
Previous
 
Next
New Post
1/8/2017 7:34 AM
 

Hey,

There's a new feature in DNN9 to drag-n-drop modules. My problem is that in my skin's ascx files I use a lot of <%%> constructions which cause the page to reload after dropping a module into a new location.

To reproduce, simply add 

<%If (True) Then %>   

    <h1>TEST</h1>

 

<%End If %>

to theme's ascx file. The page will be fully refreshed after doing d&d.

Is there any solution to prevent full page refresh?

Thanks,

Nick

 
New Post
1/10/2017 3:53 AM
 

Hi Nick,

Have you found any solution? I need that too.

 
New Post
1/10/2017 4:02 AM
 
Adding myself to this thread as well. Haven't looked at 9 yet, but have plenty of such code in my skins.
 
New Post
1/10/2017 4:45 AM
 
I haven't had any time to test yet, but does the same happen with a custom skin object?
 
New Post
1/12/2017 6:52 PM
 

Hey guys,

Have not yet resolved the issue.

@Timo, sorry, not sure what you mean by "custom skin object", but I have a custom skin, with index.ascx and other skin-related views, resources etc. In index.ascx, if I put:

 <% IF ... %> or <%=... %>

the page, where the skin is applied, reloads after doing drag-n-drop. Same for built-in skins.

I tried wrapping these constructions into UpdatePanels, but I don't feel that this is the right approach and won't cause side affects. Moreover UpdatePanel stops working if I have a ContentPane in it.

Would appreciate any ideas, suggestions, cause more and more people start using DNN9 and complaining of that reloads.

Regards,

Nick

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsSkinsSkinsPrevent page reload on Drag&DropPrevent page reload on Drag&Drop


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
DNN Launch Webinar
VIEW ON-DEMAND
DNN Launch Webinar
VIEW ON-DEMAND
DNN Launch Webinar
VIEW ON-DEMAND