Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a subclass of mmBusinessWebPage
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01276544
Message ID:
01276820
Vues:
19
>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
{
}
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform