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.