Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Inheritance
Message
De
14/01/2005 02:21:48
 
 
À
13/01/2005 09:54:55
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
ASP.NET
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
DB2
Divers
Thread ID:
00976750
Message ID:
00977068
Vues:
19
Hello Chris,

This sounds like a "Project Item Template". (Code Magazine, Nov/Dec 2004, Page 70)

You can create a template which will display in the "Add New Item" dialog box. Instead of selecting the standard Web Form, you could have a template there which uses your custom "MSC.MscCustomPage.Page". I created a few for my MM .NET Business Objects.


Gordon.


>Every page I create inherits from "System.Web.UI.Page"
>
>I have created a class and I would like my pages to inherit from "MSC.MscCustomPage.Page" instead.
>
>Does anybody know how can I tell .NET to inherit from my custom class and not from the system class?
>
>Thank you in advance.
Gordon de Rouyan
DC&G Consulting
Edmonton, Alberta
Email: derouyag@shaw.ca
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform