Wizard Control ?

Discussion in 'ASP .Net Web Controls' started by Mr. Murad Jamal, Jun 6, 2006.

  1. How to remove or hide the Previous button in Wizard Control ?
    thanx alot in advance !
     
    Mr. Murad Jamal, Jun 6, 2006
    #1
    1. Advertising

  2. 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" <> wrote in message
    news:...
    > How to remove or hide the Previous button in Wizard Control ?
    > thanx alot in advance !
     
    Ken Cox [Microsoft MVP], Jun 7, 2006
    #2
    1. Advertising

  3. yes that's what i want ! thank you so much dude

    "Ken Cox [Microsoft MVP]" wrote:

    > 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" <> wrote in message
    > news:...
    > > How to remove or hide the Previous button in Wizard Control ?
    > > thanx alot in advance !

    >
    >
    >
     
    Mr. Murad Jamal, Jun 7, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. John R. Lewis
    Replies:
    0
    Views:
    707
    John R. Lewis
    Jan 4, 2006
  2. =?Utf-8?B?VGVycnk=?=

    Gridview Control in a Wizard Control issue

    =?Utf-8?B?VGVycnk=?=, Aug 24, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    664
    =?Utf-8?B?VGVycnk=?=
    Aug 24, 2006
  3. Replies:
    0
    Views:
    643
  4. JimmyLoh
    Replies:
    4
    Views:
    1,606
    deaconb
    Aug 19, 2008
  5. Andy B
    Replies:
    0
    Views:
    466
    Andy B
    Apr 19, 2008
Loading...

Share This Page