Reputation:
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.
Upvotes: 0
Views: 648
Reputation: 4142
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.
Upvotes: 0
Reputation: 52241
Validate using javascript... on button click call javascript method, where you can check textbox value and prompt message.
Upvotes: 1