wizard: bypass the validation rule on cancel button

2 posts, 0 answers
  1. sri
    sri avatar
    1 posts
    Member since:
    Jan 2015

    Posted 08 Jan 2015 Link to this post

    i have a rad wizard with previous and next button and I made cancel button as save as draft . When I click next button and if there are any required field validators it shows the message to fill required field validators. When I cancel after having validation mesSages on the screen it's not firing cancel event because there are validations on the page . How to bypass the validations and on click of save as draft the event needs to be fired without checking any validations . Can you please help me in resolving this
  2. Boyan Dimitrov
    Boyan Dimitrov avatar
    2031 posts

    Posted 13 Jan 2015 Link to this post


    Please try setting the save button CausesValidation="false" in order not to fire the validation.

    Boyan Dimitrov
Back to Top