Removing Hyperlinks in Sidebar of Wizard Control

Last post 06-09-2009 12:37 AM by rockzcm. 3 replies.

Sort Posts:

  • Removing Hyperlinks in Sidebar of Wizard Control

    07-31-2005, 5:48 PM
    Does anyone know how to remove the hyperlinks in Wizard Control sidebars? I want the steps to be displayed (e.g. Step 1, Step 2, ... Complete), but only as text, not as hyperlinks. If a SideBarTemplate can be used, does anyone have a specific example?

    <SideBarStyle BackColor="#507CD1" Font-Size="0.9em" VerticalAlign="Top" />
    <NavigationButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" ForeColor="#284E98" />
    <SideBarButtonStyle BackColor="#507CD1" Font-Names="Verdana" ForeColor="White" />
    <SideBarTemplate>
        <asp:ImageButton OnClick="Wizard_Step" runat="server" />
    </SideBarTemplate>
  • Re: Removing Hyperlinks in Sidebar of Wizard Control

    08-02-2005, 4:39 PM
    • Member
      605 point Member
    • vimodi
    • Member since 07-12-2002, 12:13 PM
    • Posts 117
    • AspNetTeam

    Define a SideBarTemplate like.

    <SideBarTemplate>
       
    <asp:DataList ID="SideBarList" runat="server">
          
       <ItemTemplate>
                   <asp:ImageButton ID="SideBarButton" runat="server" />
             
    </ItemTemplate>
       
    </asp:DataList>
    </SideBarTemplate>

    Make sure that ID of DataList is "SideBarList"
    and ID of ImageButton control is "SideBarButton".

    HTH,
    Vishal

    Vishal
    ---------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • Re: Removing Hyperlinks in Sidebar of Wizard Control

    10-29-2007, 3:24 PM
    • Member
      2 point Member
    • hemplebr
    • Member since 10-29-2007, 7:20 PM
    • Posts 1
    I think this would be closer to what was asked for. The only difference is adding the 'OnClientClick="return false;" to the default.
            <SideBarTemplate>
                <asp:DataList ID="SideBarList" runat="server">
                    <SelectedItemStyle Font-Bold="True" />
                    <ItemTemplate>                                
                        <asp:LinkButton ID="SideBarButton" runat="server" OnClientClick="return false;"></asp:LinkButton>
                    </ItemTemplate>
                </asp:DataList>
            </SideBarTemplate>
     

     

  • Re: Removing Hyperlinks in Sidebar of Wizard Control

    06-09-2009, 12:37 AM
    • Member
      22 point Member
    • rockzcm
    • Member since 03-29-2006, 6:28 PM
    • Posts 5

    Thx, that's what i been looking for

Page 1 of 1 (4 items)