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

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIRunning DNN in xhtmlConformance mode="Transitional" causes JavaScript errorRunning DNN in xhtmlConformance mode="Transitional" causes JavaScript error
Previous
 
Next
New Post
5/3/2006 8:32 AM
 

When I set DNN to run in xhtmlConformance mode="Transitional" the pages that insert -1 as the ModuleId breaks the asp controls validation JavaScript code.

dnn_ctr-1_Register_addressUser_txtFax

is read as

dnn_ctr

-1_Register_addressUser_txtFax

Is there any way to replace the -1 (No ModuleId) with a suitable replacement that will be accepted when running in "Transitional" mode? 

DNN needs to be set to "Transitional" when running ATLAS!

Any suggestions would be welcome.

 
New Post
5/3/2006 10:10 AM
 

I believe this problem was discovered in January of this year when I was trying to integrate the ASP.NET menu into DNN.  Here is the note on a change I checked in.

Minor fix to prevent the container ID from getting a dash in its name.  This will happen when the ModuleID = -1 since it gets appended to the id.  The module ID is -1 when its an admin container.  The dash became a noticeable issue when trying to work with the ASP.NET 2.0 Menu.

So it looks like it will be fixed with the next release.  In the meantime, if you wish to try out the fix to make sure it covers your issue, open up the Admin\Skins\Skin.vb file and locate this line

' make the container id unique for the page

If Not objPortalModuleBase Is Nothing Then

ctlContainer.ID += objPortalModuleBase.ModuleId.ToString

End If

Change it to

' make the container id unique for the page

If Not objPortalModuleBase Is Nothing AndAlso objPortalModuleBase.ModuleId > -1 Then 'Can't have ID with a - (dash) in it, should only be for admin modules, where they are the only container, so don't need unique name

ctlContainer.ID += objPortalModuleBase.ModuleId.ToString

End If


 
New Post
5/3/2006 11:03 AM
 

Thank you Jon for the information.

That has sorted out any problems using ATLAS and "Transitional" mode.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsClientAPIClientAPIRunning DNN in xhtmlConformance mode="Transitional" causes JavaScript errorRunning DNN in xhtmlConformance mode="Transitional" causes JavaScript error


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