Hello,
In my app I need to be able to update several parts of the page with a single ajax request.
I have been using the BlockRenderer method for rendering several partial views. I then stick the rendered html into a JSON object for the javascript to insert into the page.
It appears RC1 breaks the BlockRenderer method. After rendering a partial view, the response stream must be flushed before you can retrieve the contents of the CapturingResponseFilter. It looks like Render() now resets the content type-- but since the response is flushed the first time you render a view, the headers are sent, and when the second view is rendered, you get an exception when it tries to reset the content type.
Is this related to the comment in the release notes about RenderPartial no longer resetting the content type? How can I work around this? Thanks in advance.