I am having two textboxes and a submit button. I have applied Custom validation to the First TextBox. When i am loosing my focus from the first textbox, Custom validator is doing validation.But i want that validation on Button Click only.
+1
A:
Validate using javascript... on button click call javascript method, where you can check textbox value and prompt message.
Muhammad Akhtar
2009-07-23 05:12:37
I am using Validator callout Extender. Can i use javascript function to show message in callout extender.
2009-07-23 05:32:57
I don't have an idea about callout Extender..Post ur code.....
Muhammad Akhtar
2009-07-23 05:35:17
A:
I think you did your custom validation at page load method. I don't know where you want validation at client side or at server.
- You can use validation control / javascript for client side validation
- For server side you can write code of validation at button click.
Hemant Kothiyal
2009-07-23 06:22:51