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:
01276820
Views:
21
>Bob,
>
>>I would like to subclass the mmBusinessWebPage class and use this as my basis for creating web forms. What is the best way to do this? I noticed a section in the help file titled "Creating Your Own Custom New Item Templates" and thought this is what I should do. However, this section seems outdated as it references folders that do not exist in my installation of MM.NET (vers 2.4).
>>
>>Is there another approach to do what I want to do, or is this the section in the help file to use.
>
>You can simply create a direct subclass of the web page like this:
>
>
public class myBusinessWebPage : mmBusinessWebPage
>{
>}
>
>Best Regard,

OK, final question(s)...

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
{
}
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform