Asp.net 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

    hi,
    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
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 13 Jan 2015 Link to this post

    Hello,

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


    Regards,
    Boyan Dimitrov
    Telerik
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top