0
我正在ASP.net中創建一個Web部件頁我想顯示最小化,恢復,關閉等圖標,而不是當前顯示的下拉菜單。此代碼在菜單中的最小化圖標旁邊添加了一個圖標,但我想完整刪除菜單,並在每個Web部件的右上角呈現3個圖標。有沒有人有一個例子如何實現這一目標?ASP.net WebPart標題圖標
<asp:WebPartManager ID="WebPartManager1" runat="server" Personalization-Enabled="true" >
</asp:WebPartManager>
<asp:WebPartZone ID="WebPartZone1" runat="server" HeaderText="zone 1"> <MinimizeVerb ImageUrl="img/os_minimise.gif" />
<ZoneTemplate>
<asp:Label ID="lblZone1Header" runat="server"><h1>Zone 1</h1></asp:Label>
<uc1:TestControl ID="TestControl1" runat="server" />
</ZoneTemplate>
</asp:WebPartZone>
<asp:WebPartZone ID="WebPartZone2" runat="server" HeaderTexxt="zone 2">
</asp:WebPartZone>
<asp:EditorZone ID="EditorZone1" runat="server">
<ZoneTemplate>
<asp:AppearanceEditorPart ID="AppearanceEditorPart1" runat="server" />
</ZoneTemplate>
</asp:EditorZone>