M
Mr. Murad Jamal
How to remove or hide the Previous button in Wizard Control ?
thanx alot in advance !
thanx alot in advance !
Ken Cox said:You need to convert the steps into templates and then you have control over
the content. That way you can delete buttons.
<asp:wizard id="Wizard1" runat="server" activestepindex="1">
<startnavigationtemplate>
<asp:button id="StartNextButton" runat="server"
commandname="MoveNext" text="Next" />
</startnavigationtemplate>
<stepnavigationtemplate>
<asp:button id="StepPreviousButton" runat="server"
causesvalidation="False" commandname="MovePrevious" text="Previous" />
<asp:button id="StepNextButton" runat="server"
commandname="MoveNext" text="Next" />
</stepnavigationtemplate>
<wizardsteps>
<asp:wizardstep runat="server" title="Step 1">
</asp:wizardstep>
<asp:wizardstep runat="server" title="Step 2">
</asp:wizardstep>
</wizardsteps>
<finishnavigationtemplate>
<asp:button id="FinishPreviousButton" runat="server"
causesvalidation="False" commandname="MovePrevious" text="Previous" />
<asp:button id="FinishButton" runat="server"
commandname="MoveComplete" text="Finish" />
</finishnavigationtemplate>
</asp:wizard>
Is that what you meant?
Ken
Microsoft MVP [ASP.NET]
Mr. Murad Jamal said:How to remove or hide the Previous button in Wizard Control ?
thanx alot in advance !
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.