NewsRotator widget: Register and use the custom control

To use your control on Sitefinity CMS pages, you must register it in the Toolbox. To register the control, you must add a reference to it in the Sitefinity CMS project.

To register your control in the Toolbox, perform the following:

  1. Log in to Sitefinity CMS backend.
  2. In the main menu in the upper part of the screen, click Administration » Settings.
  3. Go to the Advanced settings by clicking the Advanced link.
  4. In the treeview on the left, click Toolboxes » Toolboxes » PageControls » Sections.
  5. To add a new section for your custom controls, click Create New.
  6. In the Name field and in the Title field, enter Custom.
  7. Click Save changes.
  8. In the treeview on the left, select Custom » Tools.
  9. To register your control, click Create New.
  10. In the ControlType field, enter NewsRotator.NewsRotator.
    This is the type of the control in the assembly.

  11. In the Name field, enter NewsRotator.
  12. In the Title field, enter News Rotator.
  13. Click Save changes.

Your control is now registered in Sitefinity CMS toolbox. You can drop it on a page and see how it performs. Note that to use the NewsRotator control, you must create some news items and place the respective images in the album called Thumbnails. You must also add a page hosting a NewsView control. This way you will be able to test whether the link for the full news item works properly.

Increase your Sitefinity skills by signing up for our free trainings. Get Sitefinity-certified at Progress Education Community to boost your credentials.

Web Security for Sitefinity Administrators

The free standalone Web Security lesson teaches administrators how to protect your websites and Sitefinity instance from external threats. Learn to configure HTTPS, SSL, allow lists for trusted sites, and cookie security, among others.

Foundations of Sitefinity ASP.NET Core Development

The free on-demand video course teaches developers how to use Sitefinity .NET Core and leverage its decoupled architecture and new way of coding against the platform.

Was this article helpful?