preinit

If I cannot use OnPreInit in Controls, how can I add my controls dynamically on the right time?

Hi, I want to have a user control which will add some checkboxes in a asp.NET panel dynamically. Simply I was believing I can do that easily in control's OnPreInit method. But the thing is I have learn that I cannot use and override OnPreInit method on Controls; it is only used for pages. I do not want to solve this from the page by c...

How to get control in ASP.NET PreInit event?

How to get control in ASP.NET PreInit event? Pointers are null and FindControl method returns null. I am using master and content pages. Markup of the content page looks like this: <asp:Content ID="Content2" ContentPlaceHolderID="ContentBody" runat="server"> <asp:Table ID="Table1" runat="server" Width="100%"> ..... </asp:Ta...