Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP.Net Design
Message
 
To
06/09/2002 10:42:46
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00697526
Message ID:
00697628
Views:
18
The underlining problem is inheritance of webforms is just the code, not the html so what most developers have been doing is creating a base webform that have any custom methods and properties you want to use. Then base all webform pages using the base class. All controls are then added to each page itself. If you have a standard look of a collection of controls, then create a User Control to encapsulate the objects. You could also create Custom Controls but they require a lot more work.

>Cathi,
>
> Is it possible to inherit from a base webform with controls and have the controls show up on a child form during design time? This would be considered visual inheritance in a Windows.net or VFP app. If this is not possible is there a different way to do this during runtime?
-----------------------------------------

Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.com
www.prenia.com
Weblog: blogs.prenia.com/cathi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform