Kentico CMS 7.0 Tutorial ASPX

Opening and configuring the web project

Opening and configuring the web project

Previous topic Next topic Mail us feedback on this topic!  

Opening and configuring the web project

Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic!  

Open your Kentico CMS web project in Visual Studio. You can open it either through the WebProject.sln file or using the File -> Open Web Site option in the menu.

 

Adding Kentico CMS controls to the Visual Studio Toolbox

 

To make it easier to work with Kentico CMS components on your ASPX pages, add the built-in set of controls to your Visual Studio Toolbox.

 

1. Edit any ASPX web form file, for example Default.aspx under the project root. This is necessary, because the toolbox only offers the controls when working with ASPX markup.

 

2. Right-click the Toolbox and choose Add Tab.

 

3. Type the name of the new tab (e.g. CMS) and press Enter:

 

tutorial_clip0149

 

4. Right-click the new tab and select 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.

 

tutorial_clip0150

 

The controls are now added to the Toolbox. You can drag and drop the controls onto your Web forms.
 
tutorial_clip0151