Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET jQuery
Hi,
 
I want to validate my page, if everything is filled.
However when do so I got this problem.
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 :
 <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 24-Mar-13 23:45pm
El Dev827
Edited 24-Mar-13 23:54pm
(no name)122.1K
v2

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

  Print Answers RSS
0 Zoltán Zörgő 330
1 Peter Leow 204
2 Sergey Alexandrovich Kryukov 180
3 OriginalGriff 160
4 88388132 128
0 Sergey Alexandrovich Kryukov 8,288
1 OriginalGriff 6,396
2 Peter Leow 3,557
3 Zoltán Zörgő 3,221
4 Richard MacCutchan 2,397


Advertise | Privacy | Mobile
Web01 | 2.8.150123.1 | Last Updated 25 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100