RadScriptManager Problem

3 posts, 0 answers
  1. hongnguyenx
    hongnguyenx avatar
    20 posts
    Member since:
    Dec 2006

    Posted 07 Mar 2009 Link to this post

    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......

  2. Syed Asad Ullah
    Syed Asad Ullah avatar
    1 posts
    Member since:
    Apr 2009

    Posted 21 Apr 2009 Link to this post


    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" />
  3. illumination
    illumination avatar
    85 posts
    Member since:
    May 2008

    Posted 11 Jun 2009 Link to this post

    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!


Back to Top