IMPORTANT: This version of Sitefinity CMS is out of support and the respective product documentation is no longer maintained and can be outdated. Use the version selector to view a supported product version.
In Sitefinity CMS, you can work with both MVC and Web Forms widgets on the same page. You do this by applying a hybrid page template to the pages that need to leverage both technologies.
First, you create a hybrid page template via the Layout editor. For more information, see Create a layout template from scratchCreate page templates in the Layout editor. Next, you apply this template by either:
The following table lists key MVC characteristics and dependencies and how to make sure MVC technology works properly on your hybrid template.
To style your MVC widgets properly, you link the CSS to Bootstrap by one of the following:
NOTE: If there is no widget template in the package, Sitefinity CMS uses the template from the ~/Mvc folder.
MVC widget templates are located in Design » Widget templates and not in the ResourcePackages folder. These templates are used for both MVC only and hybrid templates.
To add templates in the file system, you can also create a folder with the same name as the dynamic module (in singular).
Everywhere you need to render a form, you use the @Html.BeginFormSitefinity helper.
Back To Top
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important