You can use FindControl("YourControlID"), but IMO it's a bit odd (and perhaps
indicative of a flawed design) to have a user control make an assumption
about the presence of a Control elsewhere on the page.
-Brock
DevelopMentor
http://staff.develop.com/ballen
> Hello,
>
[quoted text clipped - 11 lines]
>
> fabrice
MasterGaurav - 26 May 2005 06:40 GMT
If the UserControl is under your control (at design time), I would
suggest that "myLabel" is made public.
That's the best way to go about it.
--
Cheers,
Gaurav Vaish
http://mastergaurav.blogspot.com
http://mastergaurav.org
-------------------