📄 webpartmanagerpanel.ascx
字号:
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebPartManagerPanel.ascx.cs" Inherits="WebPartManagerPanel" %>
<asp:WebPartManager ID="WebPartManager1" runat="server">
</asp:WebPartManager>
<table class="Toolbar" border="0" cellpadding="0" cellspacing="5" width="100%">
<tr>
<td align="right">
<asp:Label runat="server" ID="_browseViewLabel">
<asp:LinkButton ID="cmdBrowseView" runat="server" OnClick="cmdBrowseView_Click" CssClass="Menu" Font-Size="7pt" ForeColor="White" >Browse View</asp:LinkButton> |
</asp:Label>
<asp:Label runat="server" ID="_designViewLabel">
<asp:LinkButton ID="cmdDesignView" runat="server" OnClick="cmdDesignView_Click" Font-Size="7pt" ForeColor="White">Design View</asp:LinkButton> |
</asp:Label>
<asp:Label runat="server" ID="_editViewLabel">
<asp:LinkButton ID="cmdEditView" runat="server" OnClick="cmdEditView_Click" Font-Size="7pt" ForeColor="White">Edit View</asp:LinkButton> |
</asp:Label>
<asp:Label runat="server" ID="_catalogViewLabel">
<asp:LinkButton ID="cmdCatalogView" runat="server" OnClick="cmdCatalogView_Click" Font-Size="7pt" ForeColor="White">Catalog View</asp:LinkButton> |
</asp:Label>
<asp:Label runat="server" ID="_connectViewLabel">
<asp:LinkButton ID="cmdConnectView" runat="server" OnClick="cmdConnectView_Click" Font-Size="7pt" ForeColor="White">Connect View</asp:LinkButton> |
</asp:Label>
<asp:Label runat="server" ID="_personalizationModeToggleLabel">
<asp:LinkButton ID="cmdPersonalizationModeToggle" runat="server" Text="Toggle Scope" OnClick="cmdPersonalizationModeToggle_Click" Font-Size="7pt" ForeColor="White"></asp:LinkButton>
</asp:Label>
</td>
</tr>
<tr>
<td align=right >
<asp:LoginStatus ID="LoginStatus1" runat="server" />
Mode="<b><%= WebPartManager1.DisplayMode.Name %></b>"
Scope="<b><%= WebPartManager1.Personalization.Scope.ToString() %></b>"
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -