3
votes
2answers
582 views

XsltListViewWebPart forgetting current web when being rendered on Layouts page

I'm adding a very simple XsltListViewWebPart to an application page. Like so: XsltListViewWebPart lvWebPart = new XsltListViewWebPart { ChromeType = PartChromeType.None, ListUrl = "/somesite/list" }; ...
0
votes
0answers
237 views

How to “link” two ListViewWebPart to look at the same RootFolder programmatically

I have a webpart which contains 2 ListView Web Part: one of them has a view that shows folder, the other one the docs. The code I've written is this: private ...
0
votes
0answers
237 views

Set ListViewWebPart to a specific Folder

I'm trying to put a ListViewWebPart on an Application Page. I want to start the displayed document library in a specific folder, say "Folder 1". I tried the following (as shown here): ...