I’ve been fight with creating Custom Server Controls (Custom Controls). I have create one Custom Control that inherits from CompositeControl. And create another control that inherits from the previous created custom control. Let’s just say the process of create a custom control is not very intuitive. Let’s not even talk about creating a customer control that inherits from another customer control. Holly !@#$.
I will probably create custom controls again and when I do hopefully the following resources will be helpful.
Writing Good ASP.NET Server Controls
http://blog.tatham.oddie.com.au/2007/11/02/writing-good-aspnet-server-controls/
http://blog.tatham.oddie.com.au/2007/11/02/writing-good-aspnet-server-controls/
ASP.NET Custom Controls: Part 2 – ViewState
http://dotnetslackers.com/articles/aspnet/ASPNETCustomControlsPart2.aspx
http://dotnetslackers.com/articles/aspnet/ASPNETCustomControlsPart2.aspx
ViewState Management
http://www.coatta.ca/Main/Technology/DotNet/ViewState.html
http://www.coatta.ca/Main/Technology/DotNet/ViewState.html
Composite controls that do their own databinding
http://weblogs.asp.net/asmith/archive/2004/08/29/222442.aspx
http://weblogs.asp.net/asmith/archive/2004/08/29/222442.aspx
Control Building and ViewState Lesson for the Day
http://scottonwriting.net/sowBlog/archive/10062004.aspx
http://scottonwriting.net/sowBlog/archive/10062004.aspx
A Crash Course on ASP.NET Control Development: Building Composite Controls
http://msdn.microsoft.com/en-us/library/aa479016.aspx
http://msdn.microsoft.com/en-us/library/aa479016.aspx