Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > Acces controls on aspx page from usercontrols

Reply
Thread Tools

Acces controls on aspx page from usercontrols

 
 
fabrice
Guest
Posts: n/a
 
      05-25-2005
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


 
Reply With Quote
 
 
 
 
Josh
Guest
Posts: n/a
 
      05-25-2005
> 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


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Web.config's <system.web><pages><controls><add /></controls></pages></system.web> To Register UserControls Nathan Sokalski ASP .Net 5 01-10-2007 10:50 AM
Using Web.config's <system.web><pages><controls><add /></controls></pages></system.web> To Register UserControls Nathan Sokalski ASP .Net Web Controls 4 12-21-2006 02:50 AM
Using Web.config's <system.web><pages><controls><add /></controls></pages></system.web> To Register UserControls Nathan Sokalski ASP .Net Building Controls 4 12-21-2006 02:50 AM
acces controls on aspx page from user control fabrice ASP .Net Building Controls 2 05-26-2005 05:40 AM
Do UserControls have acces to the container? Jenda Krynicky ASP .Net Web Controls 5 10-24-2004 04:52 AM



Advertisments