Acces controls on aspx page from usercontrols

Acces controls on aspx page from usercontrols

Post by fabric » Thu, 26 May 2005 16:14:37


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
 
 
 

Acces controls on aspx page from usercontrols

Post by Josh » Thu, 26 May 2005 18:38:50

> I'm trying to access a Label Control on my .aspx page from a User
try parse a reference to the label into the usercontrol