Opening and configuring the web project (ASPX)
Open your Kentico web project in Visual Studio. Use the WebSite.sln or WebApp.sln file in the website installation directory ( c:\inetpub\wwwroot\Kentico by default).
Adding Kentico controls to the Visual Studio Toolbox
To make it easier to work with Kentico components on your ASPX pages, add the built-in set of controls to your Visual Studio Toolbox.
- 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.
- Right-click the Toolbox and choose Add Tab.
- Type the name of the new tab (for example Kentico) and press Enter.
- Right-click the new tab and select Choose Items.
- Click Browse on the .NET Framework Components tab of the Choose Toolbox Items dialog.
- Navigate to the CMS\bin folder under your website.
- Select the CMS.Controls.dll library.
- Click Open and then OK.
The controls are now added to the Toolbox. You can drag and drop the controls onto your Web forms.