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 ExtensionsModulesModulesProblems using dnn:texteditor inside an UpdatePanel controlProblems using dnn:texteditor inside an UpdatePanel control
Previous
 
Next
New Post
1/12/2012 2:29 PM
 

The administration section of a module we're working on has several sections that interact.  To prevent page jumping, we are using update panels.

 We have one dnn:texteditor control on the page, and when it is in an asp:UpdatePanel, it does not load the content area.  Firebug reports the javascript error:

"OnClientCommandExecuting is not defined"

When the user tries to Edit or Insert.  Interestingly, if there are no items, the first insert seems to work, but editting that item, or insertting another results in the above error.  Also note that the dnn:texteditor is inside the EditItemTemplate and InsertItemTemplate of an asp:DetailsView control.

We are getting this error in both DNN 5 and DNN 6.

 If we remove the asp:UpdatePanel, there are no errors, but using the page becomes unwieldy.

Does anyone have any suggestions?  We want to distribute this module, so it needs to work with a range of DNN versions.

 

 
New Post
1/13/2012 10:47 AM
 
please check and see if enable partial updates has been enabled on the module control - if it has an updatepanel will already be injected. Also, what version of the editor provider are you using, there was an issue with the telerik radeditor based on dnnwerk where a problem occurred if more than one texteditor was on the page)

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
1/27/2012 11:24 AM
 

I thought I had already replied to this, but apparently my reply didn't save properly...

Enable Partial updates is currently disabled.  We have tried both options of the 'Supports Partial Rendering' option in the module control settings with no discernible difference.

The version of the editor doesn't seem to matter.  We're seeing the same issues in several versions of DotNetNuke 5 and 6.  I am compiling the module against vesoin 5.4.4 of the DotNetNuke.dll.

To be very clear, this problem is on a control that loads on a new page, not on the main module display.  This is the ModuleActions line that adds the link to the control with the problem:

  Dim Actions As New Actions.ModuleActionCollection
  Actions.Add(GetNextActionID, "Administration", "Administration", "", "action_settings.gif", EditUrl("Administration"), False, Security.SecurityAccessLevel.Edit, True, False)
  Return Actions

There is also a dnn:textedit control on the Settings control as well, that works without issue, but it is not in an update panel.

Thanks for your assistance.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...Building ExtensionsBuilding ExtensionsModulesModulesProblems using dnn:texteditor inside an UpdatePanel controlProblems using dnn:texteditor inside an UpdatePanel control


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