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
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