D
damiensawyer
Hi all,
I'm just starting out with user controls. Can someone please tell me
how I can reference the user control from the page which is hosting it?
Specifically, I wish to set a property on one of the objects of the
user control based on the state of an object in the hosting page.
I've created a control with runat=server. The other label control
appears in the 'overload controls' drop down list, but the UC doesn't.
<uc1:header id="Header1" runat="server"></uc1:header></P>
<asp:Label id="lblMessage" runat="server">Label</asp:Label></P>
Thanks very much in advance, any help would be greatly appreciated,
Damien Sawyer
I'm just starting out with user controls. Can someone please tell me
how I can reference the user control from the page which is hosting it?
Specifically, I wish to set a property on one of the objects of the
user control based on the state of an object in the hosting page.
I've created a control with runat=server. The other label control
appears in the 'overload controls' drop down list, but the UC doesn't.
<uc1:header id="Header1" runat="server"></uc1:header></P>
<asp:Label id="lblMessage" runat="server">Label</asp:Label></P>
Thanks very much in advance, any help would be greatly appreciated,
Damien Sawyer