Please provide me some hints how can I debug this error. It is making me mad, please help. My submit button is not working while pressing. When I checked from chrome debugger, showing error on the submit button.
developer tools console ::
ClientRegistration.aspx:233 Uncaught ReferenceError: Page_ClientValidate is not defined
at HTMLInputElement.onclick (http://localhost:57101/content/ClientRegistration.aspx:233:335)onclick @ ClientRegistration.aspx:233
<input type="button" name="ctl00$ContentPlaceHolder1$submit" value="Submit" onclick="if (!Page_ClientValidate()){ return false; } this.disabled = true; this.value = 'Saving...';__doPostBack('ctl00$ContentPlaceHolder1$submit','')" id="ContentPlaceHolder1_submit" class="input-submit" />
MSDN Community Support
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.
Member
42 Points
184 Posts
submit button not working
Nov 09, 2016 06:39 AM|scala_1988|LINK
Please provide me some hints how can I debug this error. It is making me mad, please help. My submit button is not working while pressing. When I checked from chrome debugger, showing error on the submit button.
developer tools console ::
My code ::
When I remove the
my page is working. How can I debug and resolve this error?
All-Star
15186 Points
3888 Posts
Re: submit button not working
Nov 09, 2016 08:19 AM|raju dasa|LINK
Hi,
Check the solutions, fixes in this site:
http://stackoverflow.com/questions/5979225/page-clientvalidate-is-undefined-in-formview
rajudasa.blogspot.com || rajudasa-tech
Contributor
2990 Points
1210 Posts
Re: submit button not working
Nov 10, 2016 12:26 AM|Deepak Panchal|LINK
Hi Scala,
do you have required field validator control on page? if not try to add one.
if you have that and then also you are getting this error then try to use the code mentioned below in your JavaScript.
This same error related question is already available on this forum. which was Answered. you can visit the it maybe solve your problem.
Page_ClientValidate is undefined in formview [Answered]
Regards
Deepak
Please remember to click "Mark as Answer" the responses that resolved your issue.
If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.