Validation when there are two submit buttons
I am using ASP.Net validator controls for my form validation. In my page
there are two buttons - "Save" and "Cancel". Both the buttons sumbit the form
to server but do different task. I want validation will work when user will
click on the "Save" button only. But now validatoin works when user click on
any of the buttons. Is there any way, I can mention that validation will work
when user will click on the "Save" button only?
|All times are GMT. The time now is 10:09 PM.|
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.