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.
, Title =
, SectionName =
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