Probs in Reqfield validator

R

Raghu Raman

Hi,

I have created an aspx page with a textbox and a save button & a cancel
button.I mapped that text box to required field validator.when i press
the submit button it works nice & telling the error message if the
textbox is empty.


But the thing is , if i press the cancel button , also the req.field
validator fires.

I need the validator to be fired only , if i press the submit button.if
i press the cancel button , it should not get fired.Could u pls tell me
how.

With thanks
Raghu
 
R

Raghu Raman

Hi saravana,

Thanks yar.You people continuesly responding me .Thanks for that.

Raghu(a drop in the ocean)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top