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.
From the context menu of SitefinityWebApp, click Add » New Item...
In the left pane of the Add New Window, select Sitefinity.
In the central pane, you can choose whether you want to create a new widget with a designer or create a designer for an existing widget.
To create a new For developers: Create custom models, controllers, and views with a designer, perform the following:
NOTE: You must build the project that contains your widget, in order for Sitefinity CMS Thunder to discover it.
The wizard creates three files – the designer control implementing the ControlDesignerBase class, the template, and the designer javascript component.
Sitefinity CMS Thunder can find a MVC widget and create a designer for it. The designers created are Web Forms based.
IMPORTANT: The javascript component is using your designer control with its full name (<namespace>.<class>). You must change it, if you rename or move your designer component class.
When a designer or a widget is created in a web project, all the resources, such as javascript files and the .ascx templates, will be included with their application relative paths.
If the operations are done in a class library, the resources files will be included as embedded resources and the javascript files will be registered in the assembly. For the .ascx templates, the system creates a registration in the virtual path settings that is required to work with embedded .ascx templates.
Your designer control contains the relative paths to the designer template and the javascript component. If you move or rename them, you must reflect the changes in the designer control.
NOTE: If you have selected a Form widget, the system automatically adds a Developer Name (implements IFormFieldControl).
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