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

Required field on step back

2 Answers 70 Views
Wizard
This is a migrated thread and some comments may be shown as answers.
Yan
Top achievements
Rank 1
Yan asked on 17 Oct 2016, 07:16 PM

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 Answers, 1 is accepted

Sort by
0
Yan
Top achievements
Rank 1
answered on 17 Oct 2016, 07:53 PM
sorry I just saw it is not in the appropriate section.  You can close this one. thank you
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 19 Oct 2016, 07:32 AM
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.
Tags
Wizard
Asked by
Yan
Top achievements
Rank 1
Answers by
Yan
Top achievements
Rank 1
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or