After you have implemented the controller, you must register it in Sitefinity CMS toolbox.
You do this by decorating the controller class with an attribute. There you specify the section of the toolbox you want it to appear in, as well as the name of the toolbox item.
The attribute looks like:
[ControllerToolboxItem(Name = "Features", Title = "Features", SectionName = "MVC")]
For more information, see For developers: Create the controller.
The attribute is automatically detected by Sitefinity CMS and the corresponding item is 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.
Back To Top