Total Pageviews

Monday, November 25, 2013

Add Telerik RADControls for ASP.NET Ajax on existing .Net website



1. Install Telerik RADControls for ASP.NET Ajax setup.

2. Register the HTTP handler required by RadScriptManager by pasting the following in your web.config inside the < httpHandlers /> tag:


add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" 
    verb="*" validate="false" />

and the following inside the  handlers /> tag:

add name="Telerik_Web_UI_WebResource_axd" verb="*" 
    preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" 
    type="Telerik.Web.UI.WebResource" />

3. At top of aspx page 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

4. use RADScript manager and controls in aspx as desired.

5. In vb page
Imports Telerik.Web.UI

'Namespace civilfronts1


Partial Public MustInherit Class civilfronts
    Inherits System.Web.UI.Page


End Class

No comments: