Registering and using the control

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

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

  1. Log in to Sitefinity 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 BookWidget.Book.

    This is the type of the control in the assembly.

  11. In the Name field, enter Book.
  12. In the Title field, enter Book.
  13. Click Save changes.

Your control is now registered in the Sitefinity toolbox. You can drop it on a page and see how it performs. Note that to use the Bookcontrol, you must create an album and add at least one image to it and you must specify the album title in the property editor. You can also modify the book via the properties you have exposed.

Next steps

+1-888-365-2779
sales@sitefinity.com

Related topics:

Feedback

How useful is this article?

Tell us more

Submit
Your message was successfully sent.

We appreciate your feedback.

Your message could not be sent.

OK