I've written a simple Server Control in VB that uses TemplateContainer.
<uc1:WebUserControl1 id="WebUserControl11" runat="server">
<MainContent>
This is a test
</MainContent>
<RightContent>
<asp:TextBox ID=test1 Runat=server />
</RightContent>
</uc1:WebUserControl1>
I'd like to be able to access the asp:TextBox held within the RightContent template.
I've tried using
test1 = WebUserControl11.FindControl("test1") to get at the control but it always returns nothing.
Has anyone out there run in to this problem?
Paul Hayman MCSD