Recently we’ve been working with creating a webpart to display private documents ‘on’ MySite.
While most things seem to be working smoothly there are a few very quirky things which I am putting out there to see if anyone else has run into the same troubles.
Here’s are some technical details.
When using SPView.RenderAsHtml the following features do not work:
4.) Navigate to subfolder.
We’ll take the instance of navigating to the subfolder as an example.
On a regular ListViewWebPart, when you click on a folder, the page does a post back and the the RootFolder is specified on the query string.
When using SPView.RenderAsHtml, the postback occurs but the RootFolder does not seem to be passed on the query string.
What I would like to know, is if there is a way to pass what the Root Folder a view should start in either to the SPView object or the RenderAsHtml method.
Basically we’re trying to intercept what is normally being displayed by RenderAsHtml.
Just curious as to if anyone has had similar issues. Any input would be greatly appreciated so put those thinking caps on!