Cancel Button Causes Validation

4 posts, 0 answers
  1. Kevin
    Kevin avatar
    15 posts
    Member since:
    Oct 2014

    Posted 10 Nov 2015 Link to this post

    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.

  2. Ivan Danchev
    Admin
    Ivan Danchev avatar
    833 posts

    Posted 13 Nov 2015 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kevin
    Kevin avatar
    15 posts
    Member since:
    Oct 2014

    Posted 13 Nov 2015 Link to this post

    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!!
  5. Ivan Danchev
    Admin
    Ivan Danchev avatar
    833 posts

    Posted 18 Nov 2015 Link to this post

    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
Back to Top