Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

How can i add a WebPartPages:XsltListViewWebPart to a default.aspx page.I tried adding it to Sitepages folder by creating a page under sitepages > Datasources doubled click the list and i got a XsltListViewWebPart but not on a default.aspx page.

Also when i added a webpart zone and then tried to add XsltListViewWebPart it doesn't work.What are the requirements to add a XsltListViewWebPart to a page. Thanks in Advance

share|improve this question
add comment

2 Answers

There are a number of ways to add it:

  1. Through the Browser by the Edit Page option

  2. Through Sharepoint Designer by the Add Webpart in the Advanced Edit Mode.

  3. Through Code (Visual Studio)

share|improve this answer
add comment

You can add WebPartPages:XsltListViewWebPart to default.aspx by editing this page only from browser. However, you can make webpart page, make it home page and edit it from designer.

share|improve this answer
add comment

Your Answer

 
discard

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.