Required field on step back

3 posts, 0 answers
  1. Yan
    Yan avatar
    18 posts
    Member since:
    Oct 2010

    Posted 17 Oct Link to this post

    Hi,  in my radwizard,  I have multile steps with different groups.  I try to find a way to bypass the validation when I press "previous" button.  There is no way I can hit previous without my required field validator interrupting me.

     

    I found a thread where you ask to add the following javascript :

    function OnClientButtonClicking(sender, args) {
                    if (sender.get_activeIndex() > args.get_nextActiveStep().get_index()) {
                         args.set_cancel(true);
                         sender.set_activeIndex(args.get_nextActiveStep().get_index());
                     }
                }

    When I debug,  I can see the script is called but there is something else preventing the page from going to the previous one.  Required field validator kicks in as soon as I hit previous.

    Thank you for your help

     

  2. Yan
    Yan avatar
    18 posts
    Member since:
    Oct 2010

    Posted 17 Oct in reply to Yan Link to this post

    sorry I just saw it is not in the appropriate section.  You can close this one. thank you
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Dess
    Admin
    Dess avatar
    1605 posts

    Posted 19 Oct Link to this post

    Hello Yan,

    Thank you for writing.  

    As you have already found out, this forum is related to the Telerik UI for WinForms suite. However, it seems that your question is not related to WinForms. Feel free to post you question in the relevant forum: http://www.telerik.com/forums

    Additional information for RadWizard in the Telerik UI for WinForsm suite can be found here: http://docs.telerik.com/devtools/winforms/wizard/wizard
     
    I hope this information helps. Should you have further questions I would be glad to help.

    Regards,
    Dess
    Telerik by Progress
    Check out the Windows Forms project converter, which aids the conversion process from standard Windows Forms applications written in C# or VB to Telerik UI for WinForms.For more information check out this blog post and share your thoughts.
Back to Top