Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
in Search
Welcome to AspAdvice Sign in | Join | Help

Inherit Visual components for User Controls

Last post 06-06-2008, 10:25 AM by Brian Stanek. 0 replies.
Sort Posts: Previous Next
  •  06-06-2008, 10:25 AM 42948

    Inherit Visual components for User Controls

    I am trying to do something that I do a lot in Winform programming.  We are using .NET 2.0, Ajax, and Telerik controls.

     In Winform programming, I would define user controls that have UI elements.  For example, the framework for a Dialog box with the proper buttons, validations, and other generic dialog box information.  I would normally create this for most of the major UI elements for many reasons.

     What I would like to do is to do the same thing with the Web User Controls.  While I can inherit the classes, I have not found a way to define and inherit the UI elements.  Am I missing something here or is this not possible? 

     I am using master pages for major UI elements that do not use user controls but there are many places where user controls are the preferred solution.

     Any help is appreciated.

View as RSS news feed in XML