пятница, 2 октября 2009 г.

Remove new action in SharePoint Toolbar List.


Hi, everybody.

Not for a long time I wrote very simple demo for customers thats interesing in sharepoint port customization.

I encountered with problem: "How to remove new button in sharepoint toolbar in the certain list".

And I found decision.

1. Create in the 12/template/controltemplates file TemplateManagementToolbar.ascx












2. In schema.xml of your list definitions find




ToolbarTemplate is Id of our custom template toobar.

3. iisreset.

And it works!

Thanks.

Комментариев нет: