Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

AspDotNetStoreFront
  Ads  
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Running DNN in xhtmlConformance mode="Transitional" causes JavaScript error
Previous Previous
 
Next Next
New Post 5/3/2006 6:32 AM
User is offline James Shiers
7 posts
www.24dnn.com/
10th Ranked


Running DNN in xhtmlConformance mode="Transitional" causes JavaScript error 

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 8:10 AM
User is offline Jon Henning
1623 posts
www.codeendeavors.com
5th Ranked










Re: Running DNN in xhtmlConformance mode="Transitional" causes JavaScript error 

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 9:03 AM
User is offline James Shiers
7 posts
www.24dnn.com/
10th Ranked


Re: Running DNN in xhtmlConformance mode="Transitional" causes JavaScript error 

Thank you Jon for the information.

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

 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  ClientAPI Compo...  Running DNN in xhtmlConformance mode="Transitional" causes JavaScript error
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DNNCovered.com - Your Offshore Dotnetnuke Partner
Dnncovered.com is the only Dotnetnuke offshore outsourcing center specializes in DNN skinning and module development with lowest pricing and quality service. Our staff is dedicated to websites based on DNN and our graphic designers are creative and imaginative well enough to provide customers the complete set of skinning solutions and packages
www.dnncovered.com
PointClick.Net DNN Solutions
DotNetNuke Hosting Platform for Business and personal use.
PointClick.Net Hosted Solutions
Advanced Web Portals by Infoscaler
Infoscaler is a California based company that provides advanced Web Portals, E-commerce Sites, Database Applications and Intranet Solutions on the DotNetNuke and Microsoft.NET platforms.
www.infoscaler.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP