Posted: 3/8/2010
I am using an asp.net Wizard Control in my Content Page of a Master page. I am facing a strange issue.
When i hit the browser 'Back' button from any of the Wizard Steps, it goes to the previous step.
If I continue clicking browser 'Back' button, at one time the browser 'Back' button becomes 'Grey' i.e. disabled but I still have not reached the 1st Wizard Step.
It seems the Wizard or the Browser is not able to maintain the History.
For example:
1. If I hit the browser 'Back' button at Wizard Step 4, it goes to Wizard Step 3
2. If I hit the browser 'Back' button at Wizard Step 3, it goes to Wizard Step 2
3. At Wizard Step 2, the browser 'Back' button is greyed out!!. Ideally, it should take me to Wizard Step 1. So I have no way to go back to Wizard Step 1.
I searched across Internet, but could not find any solution.
Any help is appreciated.
Thanks
Posted: 5/6/2010
Yes, probably its a problem with the Browser's history.
First thing, when the page is loaded, do the Wizard starts from the first page or from some other pages (as starting page)?
Second, I have tested in my own machine and it works fine. Make simple Wizard Control like this:
<asp:Wizard ID="Wizard1" runat="server" ActiveStepIndex="0"> <WizardSteps> <asp:WizardStep ID="WizardStep1" runat="server" Title="Step 1"> <asp:Button ID="Button1" runat="server" Text="Button" /> </asp:WizardStep> <asp:WizardStep ID="WizardStep2" runat="server" Title="Step 2"> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> </asp:WizardStep> <asp:WizardStep runat="server" Title="Step 3"> <asp:Label ID="Label1" runat="server" Text="Label" Width="74px"></asp:Label> </asp:WizardStep> <asp:WizardStep runat="server" Title="Step 4"> <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox> </asp:WizardStep> </WizardSteps> </asp:Wizard>
and try it on a new aspx page. Then give me feedback.
Thanks,Hajan
Yes, it is the issue with the IE browser history.
I do not face this issue in Firefox Mozilla.
Appreciate your help.
Posted: 5/9/2010
cherry said: Yes, it is the issue with the IE browser history.I do not face this issue in Firefox Mozilla.Appreciate your help.
What is the IE version you use to test your application?