Kentico CMS Controls
Kentico CMS Controls are standard ASP.NET server controls that can be used in Visual Studio 2005, 2008 or 2010. You can place them in your user control .ascx files that implement custom web parts, on ASPX page templates and pages that do not use the portal engine. Some of them can also be used outside of Kentico CMS.
Kentico CMS Controls work on the .NET 3.5 SP1 and 4.0 Frameworks.
Before you start using them, please make sure your project is configured as described in Configuring your project for Kentico CMS Controls.
As mentioned, ASPX page templates are a common place to use controls. The Using ASPX page templates topic contains a guide describing how a new page template can be created and prepared to fully utilize CMS controls.
Many controls use transformations to customize the way they display data. More information about this can be found in the Transformations topic.
Configuring your project for Kentico CMS Controls
Before starting Kentico CMS Controls in your ASP.NET project, it is recommended to add the controls to the Toolbox:
1. Open the web project in Visual Studio and edit any ASPX web form or ASCX user control file, for example Default.aspx under the project root. This is necessary, because the controls will only be offered in the toolbox when working with ASPX markup.
2. Right-click the Toolbox and choose Add tab from the context menu.
3. Type the name of the new tab (e.g. CMS) and press Enter:
4. Right-click the new tab and choose Choose Items... from the context menu.
5. In the Choose Toolbox Items dialog, click Browse and locate the CMS.Controls.dll library in the Bin folder under your website. Click Open and then click OK.
6. The controls are now added to the Toolbox:
7. Now you can easily drag and drop the controls into the content of your web forms or user controls.