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  |  

telerik -- supercharge your DNN websites
  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

The Official Microsoft ASP.NET Website
Portal Webhosting - Hosting For Developers
Red-Gate Software
MaximumASP
SourceGear - Tools for Developers
.: CounterSoft :.
 


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
1622 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.

 


Data Springs Inc. - Module Development
Data Springs is a leader in the DNN community offering high quality modules, custom module development, enhancements to the DNN core product and overall DNN support.
www.datasprings.com
XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl
EMAS Pro
Strategic Enrollment Management Software for Higher Education Recruitment, Retention and Financial Aid
www.emaspro.com

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