Reputation: 5370
I've just read the following article
http://www.hanselman.com/blog/MixingRazorViewsAndWebFormsMasterPagesWithASPNETMVC3.aspx
it outlines an interesting technique/hack to override the "View" method to allow razor views to replace aspx views. I'm wondering if anyone has a similar override for partials?
Upvotes: 1
Views: 849
Reputation: 913
Are you just trying to render the partial from within a view? If so - you shouldn't need to do anything differently. Calling Html.Partial or Html.RenderPartial from you aspx view should render a razor partial.
Upvotes: 2