ASP.NET Page /DesktopDefault.aspx (C#)
Uses Code Behind Page Page /DesktopDefault.aspx.cs (C#)
1: <%@ Page language="c#" CodeBehind="DesktopDefault.aspx.cs" AutoEventWireup="false" Inherits="ASPNetPortal.DesktopDefault" %>
2: <%@ Register TagPrefix="portal" TagName="Banner" Src="DesktopPortalBanner.ascx" %>
3: <%--
4:
5: The DesktopDefault.aspx page is used to load and populate each Portal View. It accomplishes
6: this by reading the layout configuration of the portal from the Portal Configuration
7: system, and then using this information to dynamically instantiate portal modules
8: (each implemented as an ASP.NET User Control), and then inject them into the page.
9:
10: --%>
11: <html>
12: <head>
13: <title>ASP.NET Portal</title>
14: <link href="portal.css" type="text/css" rel="stylesheet">
15: </head>
16: <body leftmargin="0" bottommargin="0" rightmargin="0" topmargin="0" marginheight="0" marginwidth="0">
17: <form runat="server">
18: <table width="100%" cellspacing="0" cellpadding="0" border="0">
19: <tr valign="top">
20: <td colspan="2">
21: <portal:Banner id="Banner" SelectedTabIndex="0" runat="server" />
22: </td>
23: </tr>
24: <tr>
25: <td>
26: <br>
27: <table width="100%" cellspacing="0" cellpadding="4" border="0">
28: <tr height="*" valign="top">
29: <td width="5">
30:
31: </td>
32: <td id="LeftPane" Visible="false" Width="170" runat="server">
33: </td>
34: <td width="1">
35: </td>
36: <td id="ContentPane" Visible="false" Width="*" runat="server">
37: </td>
38: <td id="RightPane" Visible="false" Width="230" runat="server">
39: </td>
40: <td width="10">
41:
42: </td>
43: </tr>
44: </table>
45: </td>
46: </tr>
47: </table>
48: </form>
49: </body>
50: </html>