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.
After you have implemented a For developers: Create the controller, you should register it with Sitefinity CMS. This is done by decorating the controller class with an attribute. It should specify the section of the toolbox you want it to appear in, as well as the name of the toolbox item.
[ControllerToolboxItem(Name =
"Features"
, Title =
, SectionName =
"MVC"
)]
This attribute will be automatically detected by Sitefinity CMS, and the corresponding item will be added to the Toolbox. Depending on the MVC mode that you are using in the page or template, the toolbox will either show only WebForms widgets, only MVC widgets or both. Here is how our sample Features widget will look after the addition of the attribute:
We can drag it on the page, just like a regular widget, and once run, it will show the list of features.
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