You will be be redirected to the blog in a moment...

Or you can click the link below to proceed:
firing validators manually

Ok for those of you who might have special needs to manually fire off validation in asp.net 2.0. you can do it, making use of the client api . Basically what you'll need to do is1. Create javascript function that will call the client api. In the javascript function call the ValidatorValidate passing in the validator object to be triggered.e.g. function TriggerValidator()       { ValidatorValidate($get('ctl00_ContentPlaceHolder1_FormView1_CustomValidator1'))              }2. Wire up the event to be trigger the javascript function and then you are ready to go.That's all for one of the things I've learned in my jobless days here in sg. Stay tuned more to come. 

 

Want to be redirected immediately?
Register yourself at Ping.sg to get rid of this page and also to get your read counted as Pong.