A while back I worked on some code that allowed you to add content to different areas of a MVC view, specifically for dealing with headers and scripts. The code worked well enough but relied on a lesser used member in the Reponse class – the Filter property. Except, now in MVC2 you see this little message when you try to mess with the Filter…
Filtering is not allowed? What? Why not?!? Admittedly, the original solution was rather hackish because it tried to perform all of the work in the Render phase...
No comments yet, be the first one to post comment.