📄 default.aspx
字号:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>无标题页</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:WebPartManager ID="WebPartManager1" runat="server">
</asp:WebPartManager>
</div>
<table style="width: 295px">
<tr>
<td style="height: 183px">
<asp:WebPartZone ID="WebPartZone1" runat="server">
<ZoneTemplate>
<asp:Image ID="Image1" runat="server" ImageUrl="~/fjtp3.jpg" />
</ZoneTemplate>
</asp:WebPartZone>
</td>
<td style="height: 183px">
<asp:CatalogZone ID="CatalogZone1" runat="server">
<ZoneTemplate>
<asp:DeclarativeCatalogPart ID="DeclarativeCatalogPart1" runat="server">
<WebPartsTemplate>
<asp:Button ID="Button2" title="按钮2" runat="server" Text="Button" />
<asp:Button ID="Button3" title="按钮3" runat="server" Text="Button" />
<asp:Button ID="Button4" title="按钮4" runat="server" Text="Button" />
</WebPartsTemplate>
</asp:DeclarativeCatalogPart>
</ZoneTemplate>
</asp:CatalogZone>
</td>
</tr>
</table>
<asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="GetAvailableWebPartDescriptions方法" />
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
<br />
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -