Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Feedback on user control
Message
De
21/04/2006 12:05:15
 
 
À
21/04/2006 06:30:00
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01115224
Message ID:
01115445
Vues:
7
>A user control doesn't have html,body and form tags.
>Here is a summary (from a book) of "Converting a web page to a user control":
>1) Remove all HTML,BODY, and FORM tags from page.
>2) If the page includes an @ Page directive, change it to an @ Control directive.
>3) Add a className attribute to the @ Control directive (... allows strong typing of control...).
>4) Change the extension from .aspx to .ascx
>
>Check:
>http://www.asp.net/QuickStart/aspnet/doc/ctrlref/userctrl/default.aspx
>
>and especially for creating site header/footers check cool Master Pages addition to 2.0:
>
>http://www.asp.net/QuickStart/aspnet/doc/masterpages/default.aspx

This is what I don't like about those interfaces. They take control over the application and apply their own rules. As there were too many restrictions and as I was not able to include all the HTML tags as I use to in the old ASP page, I simply got rid of all that and added this generated HTML code directly from a GetHeader() and GetFooter() from my main object.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform