Normal WebForms based widgets in Sitefinity CMS are plain ASP.NET controls, whose properties can be edited through the backend UI. The screens that edit those properties are called designers. MVC based widgets don’t have a control class, but have a controller class which implements the logic. So Sitefinity CMS allows you to set the values of controller properties from the backend UI (for more information, please read For developers: Implement properties in the controller). If you want to create a custom user friendly UI to edit those properties, you can create designers for MVC widgets, too.
Creating a custom designer for an MVC widget is absolutely the same as creating a designer for a WebForms widget. For more information, you can read the following topics for creating designers:
Although you can create designers for widgets manually, you can also use Sitefinity CMS Thunder. For more information on how to do that, please read Thunder: Create widget designers
Sitefinity CMS knows which designer to load for your widget by reading an attribute of the controller class. This attribute is called ControlDesigner, and it must specify the full .NET type of your designer class. An example attribute looks like this:
Back To Top