SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

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

I'm working on a Sharepoint 2010 application and I've got a code calling RenderAsHtml() on an SPView. It worked quite fine as long as we stuck to the views created in XML, in Schema.xml file of the list template.

However, when the same is done for a view created by the user in the web interface, the method returns an empty string.

The views don't seem to differ in any meaningful way (at first glance, at least).

What may be the reason for this?

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.