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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to use ajax.asp.net in dnn 4.3.5?How to use ajax.asp.net in dnn 4.3.5?
Previous
 
Next
New Post
1/1/2007 11:08 AM
 
good point but as it is if you want to add ajax to DNN right now you have to make quite a few additions to the web.config so adding the scriptmanager to the default.aspx doesnt seem like such a huge job really -

Dylan Barber http://www.braindice.com - Dotnetnuke development classes - skins and modules
 
New Post
1/9/2007 4:12 AM
 

Seems that with xhtmlConformance mode= "Transitional" the feedback and the survey module are not working correctly. Same for other custom made modules. What to do about it?

 

===

when I open the settings of the module, a JavaScript error come out. . Same bug is in FeedBack and Survey modules.

 


The bug is caused by the setting “<xhtmlConformance mode="Transitional" />” in WEB.CONFIG, which is required by AJAX. This setting indicates the pages are render in XHTML compatible mode. In this mode, all user-defined attributes of HTML tags will not be allowed (i.e. “evaluationfunction” attribute of SPAN tag, which generated by validator controls). In that case, ASP.NET 2.0 will register expando attribute with JavaScript instead. The script like this:

var dnn_ctr382_ModuleSettings_Settings.ascx_valWidth = document.all ? document.all["dnn_ctr382_ModuleSettings_Settings.ascx_valWidth"] : document.getElementById("dnn_ctr382_ModuleSettings_Settings.ascx_valWidth");

dnn_ctr382_ModuleSettings_Settings.ascx_valWidth.controltovalidate = "dnn_ctr382_ModuleSettings_Settings.ascx_txtWidth";

dnn_ctr382_ModuleSettings_Settings.ascx_valWidth.errormessage = "<br>Width Must Be A Valid Integer";

dnn_ctr382_ModuleSettings_Settings.ascx_valWidth.display = "Dynamic";

dnn_ctr382_ModuleSettings_Settings.ascx_valWidth.type = "Integer";

dnn_ctr382_ModuleSettings_Settings.ascx_valWidth.evaluationfunction = "RangeValidatorEvaluateIsValid";

dnn_ctr382_ModuleSettings_Settings.ascx_valWidth.maximumvalue = "32768";

dnn_ctr382_ModuleSettings_Settings.ascx_valWidth.minimumvalue = "0";

The red text is the ClientID of the validator control. If the ClientID include a “.” (dot) like the sample code, an error will be thrown, because it is not a valid JavaScript identifier. But when the DotNetNuke load Settings control (Settings.ascx), it use the file name (which include a dot) of the control as the ID of the control, and the ClientID of the settings control will include a dot, and all ClientIDs of the server controls in the settings control will include a dot.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0How to use ajax.asp.net in dnn 4.3.5?How to use ajax.asp.net in dnn 4.3.5?


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