0
votes

Does any one has experience implementing hybrid version of Sitecore MVC and webforms?

Sitecore does support the hybrid state but at a page level, meaning either the page has to be on Sitecore MVC layout or ASPX layout, but my requirement is to have a MVC rendering on ASPX layout.

Tried to implement this approach which is available on web, it does help render the MVC rendering on the page but as soon as a controller action is invoked the partial view rendering shows up without the parent layout as shown in the below snapshot. enter image description here Due to the above issue, we have decided to have a full page based on MVC layout but it would be good to know if anyone has any experience of such thing.

1

1 Answers

0
votes

I have written a blog about that.

Rendering Sublayouts in Sitecore MVC

You can also just render a Sitecore MVC page partially and embed the markup into your ASPX page.

How to Render a Sitecore Placeholder Programmatically

Cheers, Jeff