[Mono-bugs] [Bug 536220] New: Runtime javascript error on CustomValidator-control
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Wed Sep 2 06:34:25 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=536220
Summary: Runtime javascript error on CustomValidator-control
Classification: Mono
Product: Mono: Runtime
Version: 2.4.x
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: debug
AssignedTo: martin at novell.com
ReportedBy: sniper666666 at hotmail.com
QAContact: mono-bugs at lists.ximian.com
Found By: ---
User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1;
Trident/4.0; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR
3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
It simple throws javascript errors on "Object was expected" when a button is
clicked and the CustomValidator is run. The errors come from:
//<![CDATA[
WebFormValidation_Initialize(window);
AND
//<![CDATA[
var Page_Validators = new Array(document.getElementById
('ctl00_MainPage_CustomValidator1'));
//]]>
AND
window.ValidatorOnLoad();
Reproducible: Always
Steps to Reproduce:
1. create a form with a javascript function, a button and a
customvalidator-control.
2. Bind the customvalidator to the javascript function and button
3. click the button
Actual Results:
Postback with javascript errors:
//<![CDATA[
WebFormValidation_Initialize(window);
AND
//<![CDATA[
var Page_Validators = new Array(document.getElementById
('ctl00_MainPage_CustomValidator1'));
//]]>
AND
window.ValidatorOnLoad();
Expected Results:
Check js-function and postback if accepted
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the mono-bugs
mailing list