Anuj Kamthan

Hi,

I just wanted to remove one menu from the tool bar of the sharepoint ListViewWebPart like by default u ll get

three menu in the tool bar

New Actions Settings

i just wanted to show New instead of all three.

any idea how can i do this

Thanks




Re: SharePoint - Development and Programming How to remove one menu from the tool bar of the sharepoint web part ListViewWebPart

Tina Zuffoletti

Hi Anuj,

I am trying to do the same thing. I have been working with creating features and site definitions and still have not found the toolbar for the document library. Have you had any luck with this

Thanks,

Tina






Re: SharePoint - Development and Programming How to remove one menu from the tool bar of the sharepoint web part ListViewWebPart

User86

You would have better luck curing cancer, solving quantum mechanic problems, and building a space labatory than finding ANY kind of RELEVANT information on MOSS. Information that is relevant to developing...not nonsense.




Re: SharePoint - Development and Programming How to remove one menu from the tool bar of the sharepoint web part ListViewWebPart

saba

I am not sure if it helps or not,but as a clue:

1- read this post: http://blogs.msdn.com/dipper/archive/2006/10/05/How-to-Remove-or-hiding-items-in-List-toolbar-in-Sharepoint-Server-2007.aspx

2-take a look at "defaulttemplates.ascx" inside "Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES"

then look for <SharePoint:RenderingTemplate ID="DocumentLibraryViewToolBar" runat="server">.





Re: SharePoint - Development and Programming How to remove one menu from the tool bar of the sharepoint web part ListViewWebPart

Curtis Ruppe (MicroStaff IT)

Unfortunately, you will need to look into the list definition, and modify the View with an ID of 0. The reason: If you modify the document library with either mentioned above, it modifies it for the AllFiles.aspx page as well.