P
peter
I have created an UserControl (MywindowFooter) which
contains a label-component :
<asp:label id="lblStatusBar" runat="server"></asp:label>
How can I refer to this label, from the code-behind file, to
set its Text-property ?
I already figured out that I probably should 'get' the
label-component by doing something like :
dim statusBar as System.Web.UI.Control =
MywindowFooter.FindControl("lblStatusBar")
But what to do next ? I guess I should cast statusBar
into a label-component, but I don't know how ...
Who can help me out ?
contains a label-component :
<asp:label id="lblStatusBar" runat="server"></asp:label>
How can I refer to this label, from the code-behind file, to
set its Text-property ?
I already figured out that I probably should 'get' the
label-component by doing something like :
dim statusBar as System.Web.UI.Control =
MywindowFooter.FindControl("lblStatusBar")
But what to do next ? I guess I should cast statusBar
into a label-component, but I don't know how ...
Who can help me out ?