I want to add .NET Control (like: TextBox, Button...) to Web Custom Control.
How i can do it?
That's called a composite control
-- "Mark As Answer" if my reply helped you --
What gunteman said, that is one approach and in most cases the right one.
But its also possible to add child controls to a Control thats inherit from WebControl itself.
Be sure to implement INamingContainer to that inherited Control too, thats the important point of that approach.
Microsoft MVP - Visual Developer ASP / ASP.NET
- http://www.aspnetzone.de/blogs/peterbucher/ - Auf den Spuren von .NET