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 scratch. 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
Copyright © 2020 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity