Home All Groups Group Topic Archive Search About

Acces controls on aspx page from usercontrols

Author
25 May 2005 7:14 AM
fabrice
Hello,

I'm trying to access a Label Control on my .aspx  page from a User Control.
But I don't manage it.
Do somebody help me to do that ?

My aspx is mypage.aspx
a control label in it :

<asp:Label id="myLabel" runat="server"></asp:Label>



In  ascx :
How to fix the Text property of the label ID=mylabel.


thanks a lot.

fabrice

Author
25 May 2005 9:38 AM
Josh
> I'm trying to access a Label Control on my .aspx  page from a User
> Control.
> But I don't manage it.
> Do somebody help me to do that ?
>
> My aspx is mypage.aspx
> a control label in it :
>
> <asp:Label id="myLabel" runat="server"></asp:Label>
>
try parse a reference to the label into the usercontrol