a Wizard control question

Last post 10-08-2007 8:24 AM by GunYan. 4 replies.

Sort Posts:

  • a Wizard control question

    07-20-2007, 3:11 PM
    • Member
      217 point Member
    • netNewBee
    • Member since 02-09-2006, 8:49 PM
    • Posts 100

    Hello,

    Does any one know how to position the buttons in the Wizard control?  The button in the Wizard control is "right" aligned by default.  I need to have it center "left" aligned.

    Does any one have any ideas?

    <asp:Wizard ID="Wizard1" runat="server" />

    Thank you very much for your help!

    netNewBee :-)
  • Re: a Wizard control question

    07-20-2007, 3:22 PM
    Answer
    • All-Star
      86,764 point All-Star
    • ecbruck
    • Member since 12-30-2005, 7:39 PM
    • Des Moines, IA
    • Posts 9,209
    • Moderator

    How about this? 

    <navigationstyle horizontalalign="Left" />
    Thanks, Ed

    Microsoft MVP - ASP/ASP.NET

  • Re: a Wizard control question

    10-04-2007, 10:05 AM
    • Member
      4 point Member
    • GunYan
    • Member since 10-04-2007, 10:03 AM
    • Sweden
    • Posts 2
    So how do you position the previous button to the left and the next button to the right?
  • Re: a Wizard control question

    10-08-2007, 8:14 AM
    • All-Star
      86,764 point All-Star
    • ecbruck
    • Member since 12-30-2005, 7:39 PM
    • Des Moines, IA
    • Posts 9,209
    • Moderator

    For that, you need to use the CustomNavigationTemplate.

    Thanks, Ed

    Microsoft MVP - ASP/ASP.NET

  • Re: a Wizard control question

    10-08-2007, 8:24 AM
    • Member
      4 point Member
    • GunYan
    • Member since 10-04-2007, 10:03 AM
    • Sweden
    • Posts 2
    Thanx, solved it already but maybe your answer will help someone else
            <StepNavigationTemplate>
                <div class="borderTop">
                    <asp:ImageButton CausesValidation="false" ValidationGroup="checkout" CommandName="MovePrevious" ID="StepPreviousButton" CssClass="floatLeft" runat="server" ImageUrl="../Archive/Images/btn_back.gif" />
                    <asp:ImageButton CausesValidation="true" ValidationGroup="checkout" CommandName="MoveNext" ID="StepNextButton" runat="server" CssClass="floatRight" ImageUrl="../Archive/Images/btn_continue.gif" />
                </div>
            </StepNavigationTemplate>

     

Page 1 of 1 (5 items)