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

Steps no Enabling

1 Answer 125 Views
Wizard
This is a migrated thread and some comments may be shown as answers.
Todd
Top achievements
Rank 1
Todd asked on 16 Sep 2015, 01:25 PM

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?

1 Answer, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 21 Sep 2015, 08:16 AM
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
Tags
Wizard
Asked by
Todd
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Share this question
or