L
Luigi
Hi all,
in my ASP.NET 3.5 application I'm having this javascript error when I open
some pages:
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media
Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E)
Timestamp: Mon, 15 Mar 2010 11:12:39 UTC
Message: Expected ';'
Line: 206
Characted: 45
Code: 0
URI: mypath
and if I click F12 in IE8 to view the source of the page, the line 206
begins with:
var
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID
= document.all ?
document.all["WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID"]
:
document.getElementById("WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID");
in the code:
<script type="text/javascript">
//<![CDATA[
va
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID.controltovalidate =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID.display =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID.evaluationfunction =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID.validationexpression =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID
= document.all ?
document.all["WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID"]
:
document.getElementById("WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID");"WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateTextBoxID";"Dynamic";"RegularExpressionValidatorEvaluateIsValid";"^\\s*(\\d{1,2})([-./])(\\d{1,2})\\2((\\d{4})|(\\d{2}))\\s*$";
va
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID.controltovalidate =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID.errormessage =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID.display =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID.evaluationfunction =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID.initialvalue =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID
= document.all ?
document.all["WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID"]
:
document.getElementById("WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID");"WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateTextBoxID";"Campo
[Data] obbligatorio";"None";"RequiredFieldValidatorEvaluateIsValid";"";
va
WebCustomControl11_ucRicostruzioneMisure.ascx_ValidationSummary1.showmessagebox =
WebCustomControl11_ucRicostruzioneMisure.ascx_ValidationSummary1.showsummary
=
WebCustomControl11_ucRicostruzioneMisure.ascx_ValidationSummary1 =
document.all ?
document.all["WebCustomControl11_ucRicostruzioneMisure.ascx_ValidationSummary1"]
:
document.getElementById("WebCustomControl11_ucRicostruzioneMisure.ascx_ValidationSummary1");"True";"False";
//]]>
</script>
How can I solve this problem?
Thanks in advance.
Luigi
in my ASP.NET 3.5 application I'm having this javascript error when I open
some pages:
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0;
SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media
Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E)
Timestamp: Mon, 15 Mar 2010 11:12:39 UTC
Message: Expected ';'
Line: 206
Characted: 45
Code: 0
URI: mypath
and if I click F12 in IE8 to view the source of the page, the line 206
begins with:
var
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID
= document.all ?
document.all["WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID"]
:
document.getElementById("WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID");
in the code:
<script type="text/javascript">
//<![CDATA[
va
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID.controltovalidate =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID.display =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID.evaluationfunction =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID.validationexpression =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID
= document.all ?
document.all["WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID"]
:
document.getElementById("WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRegularExpressionValidatorID");"WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateTextBoxID";"Dynamic";"RegularExpressionValidatorEvaluateIsValid";"^\\s*(\\d{1,2})([-./])(\\d{1,2})\\2((\\d{4})|(\\d{2}))\\s*$";
va
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID.controltovalidate =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID.errormessage =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID.display =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID.evaluationfunction =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID.initialvalue =
WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID
= document.all ?
document.all["WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID"]
:
document.getElementById("WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateRequiredFieldValidatorID");"WebCustomControl11_ucRicostruzioneMisure.ascx_Data_dateTextBoxID";"Campo
[Data] obbligatorio";"None";"RequiredFieldValidatorEvaluateIsValid";"";
va
WebCustomControl11_ucRicostruzioneMisure.ascx_ValidationSummary1.showmessagebox =
WebCustomControl11_ucRicostruzioneMisure.ascx_ValidationSummary1.showsummary
=
WebCustomControl11_ucRicostruzioneMisure.ascx_ValidationSummary1 =
document.all ?
document.all["WebCustomControl11_ucRicostruzioneMisure.ascx_ValidationSummary1"]
:
document.getElementById("WebCustomControl11_ucRicostruzioneMisure.ascx_ValidationSummary1");"True";"False";
//]]>
</script>
How can I solve this problem?
Thanks in advance.
Luigi