Developer forum

Forum » Development » Using telerik controls in DynamicWeb

Using telerik controls in DynamicWeb

Lanzo van Slooten
Reply

I want t use the Telerik calendar control in DynamicWeb. But when I load the page I get the error:

Error: ASP.NET Ajax client-side framework failed to load

What am I missing??


Replies

 
Pavel Volgarev
Reply
Hi Lanzo,

Make sure you have a ScriptManager control inside you <form runat="server">.

-- Pavel 
 
Pavel Volgarev
Reply
Hi Lanzo,

I think I was mistaken and you probably need to use RadScriptManager instead of ScriptManager.

-- Pavel 
 
Lanzo van Slooten
Reply
When I click away the errror I see the button of the calender control. I think I miss some lines in the config file.

I have the the following code:
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="OrderList.ascx.cs" Inherits="Ab.Dw.Cs.OrderListModule.CustomModules.OrderList.OrderList" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
 
<form id="Form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
    <telerik:RadDatePicker ID="RadDatePicker1" runat="server" ZIndex="30001" />
</form>   
 
Pavel Volgarev
Reply
This post has been marked as an answer
Hi Lanzo,

Did you go through the RadScriptManager documentation page? There's a section about how to register an HTTP handler in your web.config file.

-- Pavel 
Votes for this answer: 0
 
Lanzo van Slooten
Reply
Thanks Pavel for your quick response. I is working now.

After putting the text below in the handlers section solved the problem :

 <add name="Telerik.Web.UI.WebResource"  path="Telerik.Web.UI.WebResource.axd" verb="*"    type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2011.1.519.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />

 

You must be logged in to post in the forum