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.
Sitefinity CMS comes with a set of built-in controls, which can be directly used in the pages you create. However, you are also capable of creating your own controls and use them side by side with the default ones.
This tutorial guides you through the steps required to create a control. As an example, you will create a NewsRotator control. You use the control to present the most recent news items and their cover pictures as a slideshow.
GITHUB EXAMPLE: This tutorial outlines the main concepts of creating a control. You can dawnload the full code sample for the NewsRotator control from Sitefinity CMS GitHub repository » NewsRotator sample widget.
After completing your control, if you don't want to use the built-in property editor, you can create a control designer. The control designer allows you to define a custom UI that is used to configure the control.
For more information about the controls, see the Widgets: Add content and functionality to pages.
You can also check out the Before you begin section below.
In order to create and use your control, you must have an up and running Sitefinity CMS project. For more information about installing Sitefinity CMS and creating and starting a project, see Install, upgrade, and deploy.
NOTE: The code provided in this documentation is written in C#. You can convert the code to VB using the Telerik Code Converter.
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