S
Srini
I customized the SideBarTemplate of the Wizard control and added a Label with ID Label1 to it.
I want to change the Text of the label based on the current step. But the following always returns null
Label L = (Label)Wizard1.FindControl( "Label1" );
As per the help file, this should return the Label.
Here is the script for the template
<SideBarTemplate>
<aspataList ID="SideBarList" runat="server" Height="90px" Width="162px">
<SelectedItemStyle Font-Bold="True" />
<ItemTemplate>
<asp:LinkButton ID="SideBarButton" runat="server"></asp:LinkButton>
</ItemTemplate>
</aspataList><br />
<asp:Button ID="Button1" runat="server" Text="Button" Visible="False" />
<br />
<asp:Label ID="Label1" runat="server" BackColor="Black" Font-Names="Tahoma" Font-Size="X-Small"
ForeColor="#FFFF80" Text="Label" Width="167px"></asp:Label>
</SideBarTemplate>
Any help appreciated.
Thanks in Advance
I want to change the Text of the label based on the current step. But the following always returns null
Label L = (Label)Wizard1.FindControl( "Label1" );
As per the help file, this should return the Label.
Here is the script for the template
<SideBarTemplate>
<aspataList ID="SideBarList" runat="server" Height="90px" Width="162px">
<SelectedItemStyle Font-Bold="True" />
<ItemTemplate>
<asp:LinkButton ID="SideBarButton" runat="server"></asp:LinkButton>
</ItemTemplate>
</aspataList><br />
<asp:Button ID="Button1" runat="server" Text="Button" Visible="False" />
<br />
<asp:Label ID="Label1" runat="server" BackColor="Black" Font-Names="Tahoma" Font-Size="X-Small"
ForeColor="#FFFF80" Text="Label" Width="167px"></asp:Label>
</SideBarTemplate>
Any help appreciated.
Thanks in Advance