In Windows Forms it’s easy to inherit one user control from another. The inherited control contains all the controls of the parent form, and you can add some more. Can the same be done with ASP.NET? I’m talking about the .ASCX type of user controls.
In Windows Forms it’s easy to inherit one user control from another. The inherited
Share
The short answer is no it can’t be easily done. There’s no inheritance between user controls or webforms. You can create an inheritance hierarchy between the code behinds classes but the gui components aren’t inherited.