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...Module ForumsModule ForumsSurveySurveySettings page generates script errorSettings page generates script error
Previous
 
Next
New Post
5/3/2007 8:35 PM
 

I send Alan an email asking for more information.



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
5/3/2007 10:16 PM
 

can you change this line in Settings.ascx and tell me if that fixes it?

<asp:TextBox id="txtClosingDate" Runat="server" CssClass="NormalTextBox" CausesValidation="True"></asp:TextBox>

 



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
5/21/2007 1:14 AM
 

AdefWebserver wrote

can you change this line in Settings.ascx and tell me if that fixes it?

 

<asp:TextBox id="txtClosingDate" Runat="server" CssClass="NormalTextBox" CausesValidation="True">asp:TextBox>

 

Sorry I didn't see this until just now... forum notifications don't always seem to come through.

I'll try it out right now... hmmm nope, exact same error occurs. Let me know if there's anything else you'd like me to try out.

Rob

 
New Post
5/21/2007 8:13 AM
 

The problem is this line in settings.ascx:

<asp:CompareValidator id=myClosingDate runat="server" CssClass="NormalRed" ControlToValidate="txtClosingDate" ErrorMessage="Invalid Closing Date" Operator="DataTypeCheck" Type="Date" Display="Dynamic"></asp:CompareValidator>

no matter what I try I can't get it to work. I guess I'll just remove it and do the validation server side. Anyone else have any ideas?



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
9/13/2007 1:18 PM
 

Hi to all.

As reported by Rob the problem is in javascript line generated by compareValidator:

var dnn_ctr785_ModuleSettings_Settings.ascx_valClosingDate = document.all ? document.all["dnn_ctr785_ModuleSettings_Settings.ascx_valClosingDate"] : document.getElementById("dnn_ctr785_ModuleSettings_Settings.ascx_valClosingDate");

and I think is the point between "var dnn_ctr785_ModuleSettings_Settings" and "ascx_valClosingDate".

This is not an uninportant problem, because in each Module settings that need validator controls, there is the same error.
Additionally, if you will try to use the MaskedEditValidator control from ajaxtoolkit it will doesn't work.

To fix the bug I change the follow line (494) in ModuleSettings.ascx.vb: 

ctlSpecific.ID = src.Substring(src.LastIndexOf("/") + 1)

in something like this

"/") + 1).Replace(".ascx", "")

ctlSpecific.ID = src.Substring(src.LastIndexOf(

I hope this can help you.

Fausto

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsSurveySurveySettings page generates script errorSettings page generates script 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