Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

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/13/2017 4:06 AM
 
Mikalai Sauchanka wrote:

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

 

I currently have no time to test myself, but here's a suggestion:

I'm not sure why this postback happens, but I'm wondering if it also happens with this kind of code inside a skin object.
If not you could move your logic to a skin object to prevent the postback (as a quick solution).

Please download a skin object (like our style helper skin object, or another one) and test if that causes a postback too.
If not I suggest you move your logic to a skin object, I'll have a bit more time next week, so I think I can walk you though how you do that.

 

 
New Post
1/15/2017 7:19 AM
 
Hi Timo,

Tried as you said - no Postback happens, but! ContentPanes do NOT work, I'm getting the error: *Unhandled error loading module. DotNetNuke.Services.Exceptions.ModuleLoadException: Cannot locate ContentPane for Theme* See http://www.dnnsoftware.com/forums/thr...

Looking forward for new suggestions and ideas.

Best Regards,
Nick
 
New Post
1/15/2017 3:36 PM
 
please make sure, there is one pane (div or td with runat="server") which has a name "ContentPane"

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
1/18/2017 9:25 AM
 
Hi Sebastian,

Didn't receive a notification to e-mail...

ContentPane IS there, but it does not work when inside a Skin Object...

Best Regards,
Nick
 
New Post
1/18/2017 10:41 AM
 
contentPane is converted into a user control and therefore cannot reside inside a skin object (which already is a user control)

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out