Steps no Enabling

2 posts, 0 answers
  1. Todd
    Todd avatar
    25 posts
    Member since:
    Mar 2011

    Posted 16 Sep 2015 Link to this post

    I have a RadWizard on a page that contains about 6 steps.  Several of the steps either have buttons that open RadWindows or combo boxes.  Additionally, several of the pages have their own validation groups and javascript validation functions associated with them.  In general the flow of the wizard is fine and everything works like I want, with the exception of the Enabled state of the Navigation steps at the top of the wizard changing.  As I proceed through the steps it doesn't enable the past tabs.

     

    How can I fix this behavior?

  2. Plamen
    Admin
    Plamen avatar
    2734 posts

    Posted 21 Sep 2015 Link to this post

    Hi,

    One possible way is to enable the steps from the client as for example it is done on this online demo.

    Another possible option is to do this on the server side as for examepl in the code below:
    <telerik:RadWizard runat="server" OnNextButtonClick="Unnamed_NextButtonClick">
           <WizardSteps>
               <telerik:RadWizardStep Title="first" ></telerik:RadWizardStep>
               <telerik:RadWizardStep Title="second" Enabled="false"></telerik:RadWizardStep>
               <telerik:RadWizardStep Title="third" Enabled="false"></telerik:RadWizardStep>
               <telerik:RadWizardStep Title="first" Enabled="false"></telerik:RadWizardStep>
           </WizardSteps>
       </telerik:RadWizard>
    protected void Unnamed_NextButtonClick(object sender, Telerik.Web.UI.WizardEventArgs e)
       {
           e.NextStep.Enabled = true;
       }

    hope this information will be helpful.

    Regards,
    Plamen
    Telerik
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top