This is a migrated thread and some comments may be shown as answers.

RadScriptManager Problem

2 Answers 209 Views
ScriptManager and StyleSheetManager
This is a migrated thread and some comments may be shown as answers.
hongnguyenx
Top achievements
Rank 1
hongnguyenx asked on 07 Mar 2009, 11:31 AM
Hi everybody,

I have a problem with RadScriptManager when i develop "web user control". It is: I create a web user control, and I use RadScriptManager, RadAjaxManager, and RadGrid in the use control. And I want to pulish web user control to DLL file, so I can add it to any web application I want.

I have DLL file from web user control (.ascx). when I register (<%@Register ......>) DLL for web app, and I run it, so I get a error message:
"

'~/Telerik.Web.UI.WebResource.axd' is missing in web.config. RadScriptManager requires a HttpHandler registration in web.config. Please, use the control Smart Tag to add the handler automatically, or see the help for more information: Controls > RadScriptManager

"
though I registed RadScriptManager in the web user control - I don't know how to fix  it.
Everybody, who can help me, Please......I realy thnks so much......

hongnguyenx.

2 Answers, 1 is accepted

Sort by
0
Syed Asad Ullah
Top achievements
Rank 1
answered on 21 Apr 2009, 03:18 PM
AsSalam-O-Alykum

add these code under  <httpHandlers>

<add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.1.515.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
      validate="false" />
      <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2008.1.515.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
0
illumination
Top achievements
Rank 2
answered on 11 Jun 2009, 12:53 PM
I believe now telerik is making it so it will be easier to upgrade. Since this statement is in web.config, then you can just put:

<

 

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

so you don' have to keep changing the version and public token when you upgrade your application.

That's my suggestion. Good luck!

 

Tags
ScriptManager and StyleSheetManager
Asked by
hongnguyenx
Top achievements
Rank 1
Answers by
Syed Asad Ullah
Top achievements
Rank 1
illumination
Top achievements
Rank 2
Share this question
or