Telerik UI for ASP.NET AJAX



  1. In order to have Telerik controls running, you will need to have ASP.NET AJAX installed on your development/production machine. See also General ASP.NET AJAX Information.

  2. You need to set up an ASP.NET Web Site in Visual Studio upto 2008.

To add a Telerik control to an ASP.NET WebForm you can use either of the following approaches:

  • Drag the control icon from the Visual Studio Toolbox;

  • Write the Telerik control tag manually.

To configure it you could:

  • Use the built-in properties from the markup or the Code-behind;

  • Use the inner tags of the control;

  • Use the configuration wizard of the Visual Studio Designer.

Adding Telerik Control to a WebForm using Visual Studio .NET

The easiest way to deploy Telerik Control is by dragging its icon from the Visual Studio .NET Toolbox in Design mode. Visual Studio will automatically copy the Telerik.Web.UI.dll to the bin folder of your web-application and will create the respective references.

Adding Telerik Control to a WebForm manually

If you are not using Visual Studio .NET, you can deploy any Telerik Control manually. Follow the instructions below:

1. Copy the Telerik.Web.UI.dll from the binXX folder of the Telerik UI for ASP.NET AJAX installation to the bin folder of your web application (where XX specifies the version of the .NET framework against which the assembly is built).

2. Open your aspx/ascx file and add the Telerik UI for ASP.NET AJAX Register directive at the top:

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

If you plan all pages in your application to use Telerik UI for ASP.NET AJAX you can add the following lines in your web.config file. In this case you don't need to add this directive in your pages.

   <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />

3. Write the product tags in the body of the WebForm:

<telerik:RadScheduler ID="RadScheduler1" Runat="server" />

See Also