Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

0x800a1391 - JavaScript runtime error: 'Page_ClientValidate' is undefined

My button click seems to generating this error on submission.....Dont understand quite why since i've used this exact button setup a few times already...

enter image description here

This is the original button code before click

asp:Button ID="btnSubmit" runat="server" Text="Submit" BorderWidth="1px" Font-Bold="True" Height="27px" Width="117px" OnClick="btnSubmit_Click"  UseSubmitBehavior="false" OnClientClick="this.value = 'Please wait...'; if(Page_ClientValidate()) { this.disabled = true; } else {this.value = 'Submit'; return false;}" /> 

This is what happens to it after click

enter image description here

these are the files i'm referencing in the script

<script src="~/Scripts/jquery-1.8.2.js" type="text/javascript"></script>
<script src="~/Scripts/jquery-1.4.2.min.js" type="text/javascript"></script>
<script src="~/Scripts/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script>
<link href="~/Styles/css/ui-lightness/jquery-ui-1.10.3.custom.css" rel="stylesheet" type="text/css" />
<script src="~/Scripts/jquery-1.9.1.js" type="text/javascript"></script>

Any help would be greatly appreciated....don't quite know if i'm overlooking something

like image 814
KBriz Avatar asked May 11 '26 08:05

KBriz


1 Answers

the whole problem was that i didnt have any fields to valdidate. Once i plced required field validators the problem was resolved

like image 118
KBriz Avatar answered May 13 '26 21:05

KBriz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!