Sitefinity toolbox can be extended with additional controls needed by your project. To add a new control to Sitefinity, one needs to create a User Control (.ascx) or a Custom Control (.dll) file and upload it to Sitefinity toolbox. While the theme of this topic is discussed in more details later in the manual, here are some basic pointers:
Note that there is hint below each configuration property. We will list the controls configuration properties here as well:
To manually add or manage controls directly through the config files, use these steps:
<?xml version="1.0" encoding="utf-8"?>
<toolboxesConfig>
<toolboxes>
<toolbox name="PageControls" title="PageControlsToolboxTitle"description="PageControlsToolboxDescription"resourceClassId="PageResources">
<sections>
<add name="ContentToolboxSection"title="ContentToolboxSectionTitle"description="ContentToolboxSectionDescription"resourceClassId="PageResources">
<tools>
<addtype="Telerik.Sitefinity.Modules.GenericContent.Web.UI.ContentBlock, Telerik.Sitefinity, Version=4.0.242.0, Culture=neutral, PublicKeyToken=b28c218413bdf563" name="ContentBlock"title="ContentBlockTitle" description="ContentBlockDescription"resourceClassId="PageResources" cssClass="sfContentBlockIcn" />
<addtype="Telerik.Sitefinity.Modules.Blogs.Web.UI.BlogPostView, Telerik.Sitefinity, Version=4.0.242.0, Culture=neutral, PublicKeyToken=b28c218413bdf563" name="BlogPostsView"title="BlogPostsViewTitle" description="BlogPostsViewDescription"resourceClassId="BlogResources" cssClass="sfBlogsViewIcn" />
<addtype="Telerik.Sitefinity.Modules.Events.Web.UI.EventsView, Telerik.Sitefinity, Version=4.0.242.0, Culture=neutral, PublicKeyToken=b28c218413bdf563" name="EventsView"title="EventsViewTitle" description="EventsViewDescription"resourceClassId="EventsResources" cssClass="sfEventsViewIcn" />
<addtype="Telerik.Sitefinity.Modules.News.Web.UI.NewsView, Telerik.Sitefinity, Version=4.0.242.0, Culture=neutral, PublicKeyToken=b28c218413bdf563" name="NewsView" title="NewsViewTitle"description="NewsViewDescription" resourceClassId="NewsResources"cssClass="sfNewsViewIcn" />
</tools>
</add>
<add name="NavigationControlsSection"title="NavigationControlsSectionTitle"description="NavigationControlsSectionDescription"resourceClassId="PageResources">
<tools>
<addtype="Telerik.Sitefinity.Web.UI.NavigationControls.SiteMap, Telerik.Sitefinity, Version=4.0.242.0, Culture=neutral, PublicKeyToken=b28c218413bdf563" name="SiteMapControl"title="SiteMapControlTitle" description="SiteMapControlDescription"resourceClassId="PageResources" cssClass="sfSitemapIcn" />
<addtype="Telerik.Sitefinity.Web.UI.NavigationControls.SiteMenu, Telerik.Sitefinity, Version=4.0.242.0, Culture=neutral, PublicKeyToken=b28c218413bdf563" name="SiteMenu" title="SiteMenuTitle"description="SiteMenuDescription" resourceClassId="PageResources"cssClass="sfMenuIcn" />
<addtype="Telerik.Sitefinity.Web.UI.NavigationControls.SiteTree, Telerik.Sitefinity, Version=4.0.242.0, Culture=neutral, PublicKeyToken=b28c218413bdf563" name="SiteTree" title="SiteTreeTitle"description="SiteTreeDescription" resourceClassId="PageResources"cssClass="sfTreeviewIcn" />
--> <add type="~/controls/ctrl.ascx"name="SampleControl" title="MyControl" description="Adding a user control" layoutTemplate="~/controls/ctrl.ascx" />
......
</tools>