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

Why does RadMenu stop working when Scriptmanager changed?

1 Answer 88 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Carl
Top achievements
Rank 1
Carl asked on 23 Oct 2008, 09:53 PM
RadMenu works fine with asp:ScriptManager.

Then I try replacing the Microsoft with the Telerik. So I try telerik:RadScriptManager but RadMenu stops working - meaning that submenus NO longer appear.

I did not find sufficient documentation in the RadMenu pdf doc to explain the correct way to use telerik:RadScriptManager with or without telerik:RadAjaxManager. Is the latter necessary? Or is telerik:RadScriptManager sufficient? If it is sufficient, then what is the correct way to configure it so that RadMenu works properly?

Or do I just revert to using the Microsoft asp:ScriptManager?

1 Answer, 1 is accepted

Sort by
0
Carl
Top achievements
Rank 1
answered on 23 Oct 2008, 10:31 PM
I have found the problem. The automated task for the Smart Tag on the telerik:RadScriptManager only registers <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI, Version=2008.2.1001.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />in <httpHandlers> of <system.web> in the web.config file but FAILS to register it in the <handlers> of <system.webServer> which is necessary on a machine running IIS 7.0.

So the confusion is due to the fact that the developer believes the Smart Tag task properly registered it when in fact it failed to do so. So the developer should manually fix the web.config file by adding an entry to <handlers> for <system.webServer> as follows:

<

 

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

 

 

 

 

 

Tags
Menu
Asked by
Carl
Top achievements
Rank 1
Answers by
Carl
Top achievements
Rank 1
Share this question
or