Find sidebar button in asp wizard sidebar

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anishps
    New Member
    • Jul 2010
    • 1

    #1

    Find sidebar button in asp wizard sidebar

    Hi all,
    I have an asp wizard with many steps and with a sidebar template .
    sidebar template is like this

    <SideBarTemplat e >
    <aspataList ID="SideBarList " runat="server">
    <ItemTemplate >
    <asp:ImageButto n AlternateText ="Test" ID="SideBarButt on" runat="server" ImageUrl='<%#Ge tStepImage( (string)Eval("T itle") )%>' />
    <asp:Label ID="lblStepName " runat="server" Text='<%#GetSte pTitle( (string)Eval("T itle") )%>'></asp:Label>
    </ItemTemplate>
    <SelectedItemTe mplate>
    <asp:ImageButto n ID="SideBarButt on" runat="server" ImageUrl='<%#Ge tSelectedStepIm age((string)Eva l("Title") )%>' />
    <asp:Label ID="lblStepName " runat="server" Text='<%#GetSte pTitle( (string)Eval("T itle") )%>'></asp:Label>
    </SelectedItemTem plate>
    </aspataList>
    </SideBarTemplate >



    I need to change the image after next button click of each step from code behind.
    How can we access the SideBarButton for the active step from code behind and change the url of that
    I heve been playing around this issue for more than a day ..please help
    Thanks,
    Anish
Working...