📄 default.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Src="WebUserControl.ascx" TagName="WebUserControl" TagPrefix="uc8" %>
<%@ Register Src="WebPartManagerPanel.ascx" TagName="WebPartManagerPanel" TagPrefix="uc1" %>
<%@ Register Namespace="WingtipWebParts" TagPrefix="cc1" %>
<%@ Register Src="webparts/Competitors.ascx" TagName="Competitors" TagPrefix="uc7" %>
<%@ Register Src="webparts/UserInfo.ascx" TagName="UserInfo" TagPrefix="uc2" %>
<%@ Register Src="webparts/CompanyNews.ascx" TagName="CompanyNews" TagPrefix="uc6" %>
<%@ Register Src="webparts/CustomerLookup.ascx" TagName="CustomerLookup" TagPrefix="uc4" %>
<%@ Register Src="webparts/CustomerDetails.ascx" TagName="CustomerDetails" TagPrefix="uc5" %>
<%@ Register Src="webparts/CustomerList.ascx" TagName="CustomerList" TagPrefix="uc3" %>
<%@ Register Src="webparts/SalesFigures.ascx" TagName="SalesFigures" TagPrefix="uc1" %>
<html>
<head id="Head1" runat="server">
<title>Wingtip Toys</title>
</head>
<body topmargin=0 bottommargin=0 rightmargin=0 leftmargin=0 >
<form id="form1" runat="server">
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
<!-- Page Header -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="775" height="82" align="left" valign="top"><img src="img/WingtipBanner.jpg" width="775" height="82"></td>
<td background="img/WingtipBannerTile.jpg"> </td>
</tr>
</table>
<!-- Page body -->
<table width=100% height=100% border="0" cellspacing="0" cellpadding="0" >
<tr>
<td class="Menu" nowrap="noWrap" valign="top" width="94" height="100%">
<asp:Menu ID="Menu1" Runat="server" DataSourceID="SiteMapDataSource1" Width="100%" />
</td>
<td background="img\bg_body.gif" style="width: 100%; height: 100%" valign="top">
<table border="0" cellpadding="0" cellspacing=0 style="width: 100%; height: 14px">
<tr>
<td class="Toolbar" style="width: 100%" valign=top align=right>
<uc1:WebPartManagerPanel ID="WebPartManagerPanel1" runat="server" />
</td>
</tr>
</table>
<table border="0" cellpadding="0" cellspacing=0 style="width: 100%; height: 100%">
<tr>
<td style="width: 100%" valign=top>
<!-- Page Inner Body -->
<table border="0" cellpadding=2 cellspacing="2" width=100% height=100%>
<tr>
<td valign=top height=100% >
<asp:WebPartZone ID="LeftZone" HeaderText="Left Web Part Zone" runat="server" Height="100%" >
<ZoneTemplate>
<uc6:CompanyNews ID="CompanyNews1" runat="server" />
<uc7:Competitors ID="Competitors1" runat="server" />
<uc8:WebUserControl ID="WebUserControl1" runat="server" />
</ZoneTemplate>
</asp:WebPartZone>
</td>
<td valign=top >
<asp:WebPartZone ID="RightZone" Runat="server" Height="100%" PartChromeType="TitleAndBorder" HeaderText="Right Web Part Zone" Width="100%">
<ZoneTemplate>
<uc2:UserInfo ID="UserInfo1" runat="server" />
</ZoneTemplate>
</asp:WebPartZone>
</td>
<td valign=top class="EditorZone" >
<asp:EditorZone ID="EditorZone1" runat="server" Width=100% >
<ZoneTemplate>
<asp:PropertyGridEditorPart ID="PropertyGridEditorPart1" Title="Web Part Properties" runat="server" />
</ZoneTemplate>
</asp:EditorZone>
<asp:CatalogZone ID="CatalogZone1" runat="server" >
<ZoneTemplate>
<asp:PageCatalogPart ID="PageCatalogPart1" runat="server" Title="Local Page Catalog" />
<asp:DeclarativeCatalogPart ID="DeclarativeCatalogPart1" runat="server" Title="Wingtip Web Parts">
<WebPartsTemplate>
<cc1:weatherwebpart id="WeatherWebPart1" runat="server" zipcode="90210"></cc1:weatherwebpart>
</WebPartsTemplate>
</asp:DeclarativeCatalogPart>
</ZoneTemplate>
</asp:CatalogZone>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -