Stop client side validation for DataList cancel button

  • Thread starter Thread starter moondaddy
  • Start date Start date
M

moondaddy

I have a datalist that makes use of the edit template. In this template I
also have client side validation controls for required fields. My problem
is that when I click on the cancel button it won't do a postback to cancel
the update when the form's not valid. How can I bypass the validation for
the cancel button?
 

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

Back
Top