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

Populate RadMenu from WCF-service

5 Answers 90 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Paul Evers
Top achievements
Rank 2
Paul Evers asked on 20 Sep 2012, 09:40 AM
Hi,

I want to populate a RadMenuItem from a wcf-service.
This is working but I have the following problem.
The wcf-service is only called the first time I visit the menu. The second time I hoover the menu the items from the wcf-service are not refreshed. Because the items I want to show can be changed in the meanwhile I want the menuitems always be populated/refreshed from the wcf-service.
How can I do this?

Paul

5 Answers, 1 is accepted

Sort by
0
Accepted
Dimitar Terziev
Telerik team
answered on 25 Sep 2012, 08:54 AM
Hi Paul,

Here is a forum thread discussing the same matter, it's rather old but the suggested approach is still applicable.

Kind regards,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Paul Evers
Top achievements
Rank 2
answered on 25 Sep 2012, 09:12 AM
Hi,
The solution worked, but I get in IE10 an Unhandled Exception:
Unhandled exception at line 10414, 
column 23 in http://localhost/Flightmap.Web/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;AjaxControlToolkit,+Version=4.1.51116.0,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en:07ead49c-3169-4e2b-b447-bacc452e967a:ea597d4b:b25378d2;Telerik.Web.UI:en:142b992e-7e83-48ab-91eb-2f21937655db:16e4e7cd:f7645509:22a6274a:ed16cbdc:874f8ea2:24ee1bba:19620875:f46195d3:39040b5c:f85f9819:490a9d4e:bd8f85e4:11a04f7e:7165f74:e330518b:2003d0b8:1e771326:c8618e41
 
0x800a139e - JavaScript runtime error: NoModificationAllowedError

This error occurs when I run the website in IE10. When I switch to Browser mode IE9 I get no error.
In FireFox and Chrome also no error occurs.
I use v.2012.2.724.40 if the controls.
0
Dimitar Terziev
Telerik team
answered on 01 Oct 2012, 06:50 AM
Hi Paul,

The official support of IE10 has been announce with the 2012.2.912 version of our controls. Could you test whether the same issue is being reproduced with the aforementioned version of our controls?

All the best,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Paul Evers
Top achievements
Rank 2
answered on 01 Oct 2012, 07:03 AM
I just upgraded to the 2012.2.912 version and I still get the error:

Unhandled exception at line 12578, column 23 in http://localhost/Flightmap.Web/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;AjaxControlToolkit,+Version=4.1.51116.0,+Culture=neutral,+PublicKeyToken=28f01b0e84b6d53e:en:07ead49c-3169-4e2b-b447-bacc452e967a:ea597d4b:b25378d2;Telerik.Web.UI:en:6aabe639-e731-432d-8e00-1a2e36f6eee0:16e4e7cd:f7645509:22a6274a:86526ba7:874f8ea2:24ee1bba:19620875:f46195d3:490a9d4e:bd8f85e4:39040b5c:f85f9819:2003d0b8:1e771326:aa288e2d:ed16cbdc:b7778d6c:7165f74:e330518b:c8618e41:2bef5fcc:6a6d718d:e085fe68:e4f8f289


0x800a139e - JavaScript runtime error: NoModificationAllowedError

Paul
0
Dimitar Terziev
Telerik team
answered on 04 Oct 2012, 01:55 PM
Hello Paul,

We shall investigate this problem and once I have more information on the matter I will post it here.

All the best,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Menu
Asked by
Paul Evers
Top achievements
Rank 2
Answers by
Dimitar Terziev
Telerik team
Paul Evers
Top achievements
Rank 2
Share this question
or