I added a ListViewWebPart that is setup show the Shared Document list and the first view. My problem is that I do not get the New Dokument link in the web part. How do I get the web part to show the New Dokument button, using code?
Tell me more
×
SharePoint Stack Exchange is a question and answer site for
SharePoint enthusiasts. It's 100% free, no registration required.
|
From the web part's "Verbs Menu" (arrow in top right of web part) click Modifiy This Web Part, and there should be an option somewhere to display the Toolbar. This will give you the New button, as well as Actions and Settings. |
|||||||
|
|
|
I found that for me the solution was to use the new XsltListView web part. Here the new item link is default when adding it in code. |
|||
|
|