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

Cancel Button Causes Validation

3 Answers 89 Views
Wizard
This is a migrated thread and some comments may be shown as answers.
Kevin
Top achievements
Rank 1
Kevin asked on 10 Nov 2015, 05:06 PM

Greetings,

 

I have a radwizard with the default cancel button shown.  The issue that I am seeing is when someone hits the cancel button, it is firing the validation for this wizard step.  Is there any way I can set the CausesValidation = false on the cancel button?  Thanks for any help.

3 Answers, 1 is accepted

Sort by
0
Ivan Danchev
Telerik team
answered on 13 Nov 2015, 02:14 PM
Hello Kevin,

Could you please modify the attached sample, in order to demonstrate the described validation triggering on Cancel button click? It contains a RadWizard, which has validation enabled for the two TextBox controls in Step 2. At my side the validation is triggered on Next button click, but isn't triggered when clicking on Cancel.

Regards,
Ivan Danchev
Telerik
0
Kevin
Top achievements
Rank 1
answered on 13 Nov 2015, 03:24 PM
If the cancel button is suppose to not trigger validation then it must be something on our end.  I will look into it some more.  Thanks for the reply!!
0
Ivan Danchev
Telerik team
answered on 18 Nov 2015, 11:44 AM
Hello Kevin,

The validation is not supposed to get triggered by the Cancel button and the button by default does not have the functionality of setting the previous step as the Active step when pressed.  

Regards,
Ivan Danchev
Telerik
Tags
Wizard
Asked by
Kevin
Top achievements
Rank 1
Answers by
Ivan Danchev
Telerik team
Kevin
Top achievements
Rank 1
Share this question
or