asp.net-customcontrol

Can ASP.NET web controls take in anything in the constructor?

I want to have a secure control but also want to extend the existing button or textbox the asp.net framework provides. So my class dec would look something like: public class MyTextBox : System.Web.UI.WebControls.TextBox I was thinking something like a strategy pattern for doing it, but not sure how I could pass in a ISecureControl i...

Possible to have a inner control on a custom server control?

I would like to be able to do something like: <ui:Tab Title="A nice title"> <TabTemplate> <asp:Literal runat="server" ID="SetMe">With Text or Something</asp:Literal> </TabTemplate> </ui:Tab> but also be able to do: <ui:Tab Title="A nice title"> <TabTemplate> <asp:DataList runat="server" ID="BindMe"></asp:DataList> </T...

Infragistics Custom Control

Any advice on how to build a custom control where the functional control is an Infragistics 8.3 WebDataGrid? I believe it is by extending CompositeControl, but it is confusing to me what code goes into the CreateChildControl method vs. the PreRender handler vs. the Init and Load handlers. Thanks, Jonathan ...

ASP.NET custom control control state

What is the advantage of using control state instead of view state when I create a custom control in ASP.NET? Why use control state? Does a good article about this exist? ...