Populate RadMenu from WCF-service

6 posts, 1 answers
  1. Paul Evers
    Paul Evers avatar
    52 posts
    Member since:
    Oct 2011

    Posted 20 Sep 2012 Link to this post

    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
  2. Answer
    Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 25 Sep 2012 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Paul Evers
    Paul Evers avatar
    52 posts
    Member since:
    Oct 2011

    Posted 25 Sep 2012 Link to this post

    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.
  5. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 01 Oct 2012 Link to this post

    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.
  6. Paul Evers
    Paul Evers avatar
    52 posts
    Member since:
    Oct 2011

    Posted 01 Oct 2012 Link to this post

    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
  7. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 04 Oct 2012 Link to this post

    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017