Hi Pete,
It's more or less the same as a normal control. But due to a bug, Visual
Studio.NET doesn't add a declaration for the User Control in the code behind.
Do the following:
1. Add the control (MyControl in my example) as you normally would and give
it an ID, like ucMyControl1
2. Then in your code behind add something like this:
Protected WithEvents ucMyControl1 as MyNameSpace.MyControl
From this point on, you can reference ucMyControl1 like you would with any
other control.
Cheers,
Imar
At 02:48 PM 12/2/2002 +0000, you wrote:
>Thanks for responding so quickly Jerry,
>
>I should have made it clear. I am refering to a user control, that is an
>ASCX file and how to access it's controls from an ASPX's code-behind-page.
>
>Cheers
>Pete