Menu in masterpage w/o page refresh XMLHttpPanel?

2 posts, 0 answers
  1. ajenski
    ajenski avatar
    11 posts
    Member since:
    Nov 2006

    Posted 09 Apr 2010 Link to this post

    Hello,

    I have a site (Rad AJAX 2010 Q1 C# 3.5) that has a masterpage that contains a RadMenu.  The contents of my radmenu is populated by an XML file (I have many XML files for different user roles).  What I'd like to have is when a menu item is selected, the content page  is loaded w/o re-loading the master page.  I saw a thread from a year ago showing a way to do this if all of the things to be shown in the content page are .ascx controls.  Converting a fairly sizable number of aspx content pages to ASCX' is more of a refactoring than I can afford to do now.  Since the ascx suggestion to do something like this is a year or so old and there are new controls like XMLHttpPanel out now - is it possible to accomplish this concept now w/o the ascx refactor suggestion.  An extra bonus would be to have a loading... graphic displayed during the content page load.  If its possible to get an example of how to do this I am sure that other developers would benefit by it.

    Thanks in advance,
    AJ
  2. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 09 Apr 2010 Link to this post

    Hi Ajenski,

    If you handle ItemClick for RadMenu, then I am not aware of any way to change the content page without using ascx user controls. You could of course pass a parameter in ItemClick to update the content page. Or, you can handle OnClientItemClicking to initiate content load client-side as shown in this demo.

    If you elaborate on your case, we might be able to offer more specific suggestions.


    Kind regards,
    Peter
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Back to Top