|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
asp.net 2.0 webpartsHow do you change the minimize,close,restore function of a webpartzone.
What I want to do is only allow minimize and put the link on the webpart zone instead of in the arrow drop down list. Minimize Instead of >Minimize Close Delete How do you modify these in general one example I have has a Delete link the other example does not but I cannot find where this was specified. Thanks, Dan Dan delebash,
The delete link shows up when you create a webpart so you can delete it LOL. Show verbs in titlebar with webpartverbrendermode. <asp:WebPartZone ID="WebPartZone1" runat="server" WebPartVerbRenderMode="TitleBar"> </asp:WebPartZone> Disable close and delete I'm using two different methods one for close setting properties in the webpartzone and one for delete setting properties in the delete element of the webpartzone you decide whats best for you. <asp:WebPartZone ID="WebPartZone1" runat="server" WebPartVerbRenderMode="TitleBar" CloseVerb-Enabled="false" CloseVerb-Visible="false" > <DeleteVerb Enabled="false" Visible="false" /> </asp:WebPartZone> Good Luck DWS Show quoteHide quote "delebash" wrote: > How do you change the minimize,close,restore function of a webpartzone. > What I want to do is only allow minimize and put the link on the webpart > zone instead of in the arrow drop down list. > > Minimize > Instead of >Minimize > Close > Delete > How do you modify these in general one example I have has a Delete link the > other example does not but I cannot find where this was specified. > > Thanks, > Dan
framed
Open htm and asp pagen inside an .NET aspx project Deriving from built-in DataGrid control controls recommendation User Control question Custom Server Control Design Best Practices? Welcome to Gridview Hell Webpartzone as DIV How to Display an image, from a DB, into the Gridview (ASP.NET 2.0) SelectedIndexChanged Event of Dropdownlist on a DLL.. |
|||||||||||||||||||||||