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?
Share
Ok so I finally solved this: You need to call
Page_ClientValidate()in your Save javascript method and If it returns true continue with the save, thePage_ClientValidate()initiates the client side validators, See code below: