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.
Before you begin creating your control, you must have the following installed:
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
Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.