0

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

<SideBarTemplate >
<asp:DataList ID="SideBarList" runat="server">
<ItemTemplate >
<asp:ImageButton AlternateText ="Test" ID="SideBarButton" runat="server" ImageUrl='<%#GetStepImage( (string)Eval("Title") )%>' />
<asp:Label ID="lblStepName" runat="server" Text='<%#GetStepTitle( (string)Eval("Title") )%>'></asp:Label>
</ItemTemplate>
<SelectedItemTemplate>
<asp:ImageButton ID="SideBarButton" runat="server" ImageUrl='<%#GetSelectedStepImage((string)Eval("Title") )%>' />
<asp:Label ID="lblStepName" runat="server" Text='<%#GetStepTitle( (string)Eval("Title") )%>'></asp:Label>
</SelectedItemTemplate>
</asp:DataList>
</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

2
Contributors
1
Reply
2
Views
7 Years
Discussion Span
Last Post by farooqaaa
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.