Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Feedback on user control
Message
De
21/04/2006 12:28:33
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
21/04/2006 12:24:46
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01115224
Message ID:
01115462
Vues:
7
>>I respect your decision and compared to me you are a master in web management:) However master pages at least have one big advantage: See how end paeg looks like during design.
>
>For me, by the use of the object, here is how I do the header and the footer. Note that there is a big advantage for me to do it like that as I have a lot of business logic that will adapt the header and footer based on the user and based on where he is on the application.
>
>
><script runat="server">
>    Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
>        Dim loDashboard As Dashboard = New Dashboard(LXFramework)
>        Header2.Text = loDashboard.GetHeader()
>        Footer.Text = loDashboard.GetFooter()
>    End Sub
></script>
>
><html>
><body leftMargin=0 topMargin=0 Background="images/stripetile.gif">
>        <asp:Label ID="Header2" runat="server" Text=""></asp:Label>
>        <asp:Label ID="Footer" runat="server" Text=""></asp:Label>
></body>
></html>
>
>
>Naturally, between Header2 and Footer labels, this is where the custom part for the page will be added.

Michel,
As I can see this still fits to user control and master pages.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform