Shanku Niyogi
3/13/2002 9:13:00 PM
Rich,
It really depends on WHEN you do this. Once the panel receives the Init
event, the control tree under it should be ready, and initialized.
Also, are you looking at a control directly inside the panel, or in a child
or a content template?
Thanks,
Shanku
"Rich" <rich@tely.com> wrote in message news:uJuzOqVyBHA.1372@tkmsftngp02...
> Thanks but it doesn't work. Panel1.Controls[0].ID returns empty string.
What
> I need is accessing Text property of Label control which is inside Panel
> control.
>
> Rich
>
>
> > You'll probably want to use the Controls collection on the panel class.
> You
> > can access the controls in the container like this:
> >
> > Label2.Text = Panel1.Controls[0].ID;
> >
> > hope this helps.
> >
> > Frank
>
>
>
>