Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a subclass of mmBusinessWebPage
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01276544
Message ID:
01276942
Views:
20
>I create the new subclass for my web forms as above and now want to create a new web form based on my new subclass. Should I choose 'Add new Item' and choose the existing MM.Net Business web page and then just edit the partial class to be based on my new subclass as follows:
>
>
public class myNewWebPage : myBusinessWebPage
>{
>}
>
public partial class WebPage1 : myNewWebPage
{
}
The partial modifier has nothing to do with the inheritance from your custom class. It's for the Web Form designer.
Regards,

Fred Chateau
Previous
Reply
Map
View

Click here to load this message in the networking platform