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

[Solved] web.config registration missing

2 Answers 174 Views
Editor
This is a migrated thread and some comments may be shown as answers.
Karl Wilkens
Top achievements
Rank 1
Karl Wilkens asked on 04 Dec 2009, 06:45 PM
Hi, I am trying to run the image manager dialog with out rad editor and have viewed and am using samples from

http://www.telerik.com/community/forums/aspnet-ajax/editor/client-side-methods.aspx

I am using Q3 2009 and VS 2008 and no matter what I do i get a web.config registration missing error. I also viewed this page for help on this and tried several variations for the web.config as documented here

http://www.telerik.com/support/kb/aspnet-ajax/editor/error-web-config-registration-missing-the-telerik-dialogs-require-a-httphandler-registration-in-the-web-config-file.aspx

the client side code for this is

<telerik:Raddialogopener runat="server" id="DialogOpener1" AdditionalQueryString=""
            HandlerUrl="Telerik.Web.UI.DialogHandler.axd" style="display: none;">
 </telerik:Raddialogopener>
 <button onclick="$find('<%= DialogOpener1.ClientID %>').open('ImageManager');return false;">
  Open Image Manager
 </button>

and in web.config we have

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

and at the bottom in system.webServer we have

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

Any thoughts on why this is not working? We have tried quite a few combinations without success. Thanks.











2 Answers, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 07 Dec 2009, 04:40 PM
Hello Karl Wilkens,

 Could you please open the web.config file and make sure that you have replaced all Telerik.Web.UI.DialogHandler.aspx strings with Telerik.Web.UI.DialogHandler.axd.

After that set the DialogHandlerUrl property to "~/Telerik.Web.UI.DialogHandler.axd" , e.g.

DialogDefinition imageManager = new DialogDefinition(typeof(ImageManagerDialog), imageManagerParameters);
imageManager.Parameters["DialogHandlerUrl"] = "~/Telerik.Web.UI.DialogHandler.axd";

If you still experience any problems, open a support ticket and send a sample working project that demonstrates it. I will examine it and provide a solution.

Best regards,
Rumen
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Karl Wilkens
Top achievements
Rank 1
answered on 07 Dec 2009, 06:36 PM
NEVER MIND - found a thread that resolved these issues here -  http://www.telerik.com/community/forums/aspnet-ajax/tooltip/sys-is-undefined.aspx
Tags
Editor
Asked by
Karl Wilkens
Top achievements
Rank 1
Answers by
Rumen
Telerik team
Karl Wilkens
Top achievements
Rank 1
Share this question
or