Click here to Skip to main content
15,889,808 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to validate my page, if everything is filled.
However when do so I got this problem.
JavaScript
ReferenceError: Page_ClientValidate is not defined inside console panel of a firebug to identifier the problem,but I do not understand what is the problem:
this is my code :

JavaScript
<script type="text/javascript">
       $('#btnContinueChk').live("click", function (e) {
           e.preventDefault();
           if (Page_ClientValidate()) {
               $.checkSessionExists(function (event, data) {
                   if (data.sessionExists) {
                       PageMethods.ContinueChk($("#<%=rdoFreeStandard.ClientID%>").is(":checked"),
                       function(response){
                           var result = eval("(" + response + ")");
                           alert(result.Message);
                       });
                  }
                   else
                       window.location.href = urlpath + "Login.aspx?returnurl=" + encodeURI("MyProduct.aspx");

               });
           }
       });
   </script>

Please need some help...
Posted
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900