<p>I have a basic CRUD form that uses PageMethods to update the user details, however the Validators don't fire off, I think I need to manually initialize the validators and check whether the validation has passed in my javascript save method. Any ideas on how to do this?</p>

[{'answer_id': 45892, 'author': 'Sara Chipps', 'author_id': 4140, 'author_profile': 'https://Stackoverflow.com/users/4140', 'pm_score': 0, 'selected': False, 'text': "<p>what are you using for development? VS 2008 supposedly has better JS debugging, haven't tried it yet. </p>\n\n<p>For Ajax you can use the Sys.Debug obj</p>\n"}, {'answer_id': 45897, 'author': 'Dale Ragan', 'author_id': 1117, 'author_profile': 'https://Stackoverflow.com/users/1117', 'pm_score': 0, 'selected': False, 'text': '<p>If you use <a href="http://www.mozilla.com/en-US/firefox/" rel="nofollow noreferrer">Firefox</a>, you can use the <a href="https://addons.mozilla.org/en-US/firefox/addon/1843" rel="nofollow noreferrer">FireBug</a> plugin.  It has great <a href="http://getfirebug.com/js.html" rel="nofollow noreferrer">javascript debugging support</a>.</p>\n'}, {'answer_id': 49371, 'author': 'Nicholas', 'author_id': 2808, 'author_profile': 'https://Stackoverflow.com/users/2808', 'pm_score': 2, 'selected': True, 'text': "<p>Ok so I finally solved this: You need  to  call <code>Page_ClientValidate()</code> in your Save javascript method and If it returns true continue with the save, the <code>Page_ClientValidate()</code> initiates the client side validators, See code below:</p>\n\n<pre><code>    function Save()\n    {\n        var clientValidationPassed =Page_ClientValidate();\n        if(clientValidationPassed)\n        {\n            //Save Data\n            PageMethods.SaveUser(UserName,Role,SaveCustomerRequestComplete, RequestError);\n            $find('editPopupExtender').hide();\n        }\n        else\n        {\n            //Do Nothing as CLient Validation messages are now displayed\n        }\n        return false;\n    }\n</code></pre>\n"}]
['https://Stackoverflow.com/questions/45626', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2808/']