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

Menu in masterpage w/o page refresh XMLHttpPanel?

1 Answer 70 Views
Menu
This is a migrated thread and some comments may be shown as answers.
ajenski
Top achievements
Rank 1
ajenski asked on 09 Apr 2010, 06:16 AM
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

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 09 Apr 2010, 11:55 AM
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.
Tags
Menu
Asked by
ajenski
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or