This is a migrated thread and some comments may be shown as answers.

Asp.net wizard: bypass the validation rule on cancel button

1 Answer 259 Views
Wizard
This is a migrated thread and some comments may be shown as answers.
sri
Top achievements
Rank 1
sri asked on 08 Jan 2015, 04:54 PM
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

1 Answer, 1 is accepted

Sort by
0
Boyan Dimitrov
Telerik team
answered on 13 Jan 2015, 09:36 AM
Hello,

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


Regards,
Boyan Dimitrov
Telerik
Tags
Wizard
Asked by
sri
Top achievements
Rank 1
Answers by
Boyan Dimitrov
Telerik team
Share this question
or