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 page templates. 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.
Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.
This free lesson teaches administrators, marketers, and other business professionals how to use the Integration hub service to create automated workflows between Sitefinity and other business systems.
This free lesson teaches administrators the basics about protecting yor Sitefinity instance and its sites from external threats. Configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.
The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important