SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I create a List Instance in Sharepoint, it allows me to add a view of that List as a Web Part, via the UI.


enter image description here

How can I add this web part programmatically via the SPWebPartManager ? (I cannot find this webpart in the Site collection web part gallery)

If this is not possible then what alternatives do I have that deliver the same functionality?

share|improve this question

There is a lot of places on the web that explain how to do this. This one was at the top of my google search, see if it helps you out:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.