Sitefinity CMS comes with a set of built-in widgets, which can be directly used in the pages you create. Such widgets are the News, Image gallery, and Video gallery. Widgets allow you to display the content you create and configure how you want your content displayed.
Apart from Sitefinity’s built-in widgets, you can also create your own widgets and use them side by side with the default ones. That is, implement new widget to specifically serve your business case needs and functionality requirements by implementing your own custom logic.
You can create a new:
For more details about the different types of widgets, see Overview: Types of widgets.
When implementing a new widget, the general steps you follow are:
Depending on the type of new widget you create, the new widget you create in Visual Studio and the registration process are different. In addition, implementing the markup and the logic of the new widget are specific for each widget.
NOTE: When you develop widgets for Sitefinity CMS, the system imposes no special requirements. You can use widgets created for other systems by including them in the Sitefinity CMS toolbox.
To subscribe to:
The reason is when you subscribe to events, the lifecycle of the Sitefinity CMS application is modified. Therefore, if you attempt to subscribe to an event through the .ascx file, the event will not fire.
To access the data in the application, your new widget must also be able to communicate with the existing modules in the Sitefinity CMS application. This is achieved by using either the Fluent API or the Native API.
Your widget can also be data independent. An analog clock widget, which displays the current time, is an example of such widget.
For more information, see:
By default, each widget in Sitefinity CMS toolbox has a property editor, which allows the widget to be customized. It includes all of the public properties that are exposed by the widget. You can also replace the property editor with a widget designer. For more information about the widget designers, see Overview: Widget designers.
To use a widget that is not part of the Sitefinity CMS toolbox, you must register it. To register a widget, you need to:
You can also refer to a number of tutorials in Tutorials: Create widgets.
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
Copyright © 2020 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.
Progress, Telerik, Ipswitch, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.
Powered by Progress Sitefinity