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

Problem With RadMenu on ExpandMode="WebService"

2 Answers 93 Views
Menu
This is a migrated thread and some comments may be shown as answers.
mohammad farahani
Top achievements
Rank 1
mohammad farahani asked on 05 May 2013, 10:08 AM
I use this sample and run dynamil Menu for my project

 http://www.telerik.com/help/aspnet-ajax/menu-items-wcf-service.html

but i have many problem.when i use RadMenu for first Time it work correctly.but for second try ,sent noting to WebService by Menu.
1.Does it possible i call  WebService routine every time i click on RadMenu? 

In last Sample RadMenu sent to  WebService a RadMenuItemData  but not RadMenuItem exactly.I want to use template for my menu.for sample add checkbox  control and check it ,if that is necessary.
2.How can i do it ?

2 Answers, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 08 May 2013, 08:25 AM
Hi,

By default once the child menu items are loaded no consecutive requests are been made, since the loaded items are being cached. As for the templates, when the menu items are being loaded from a web service, client side template should be used. Here is a demo which you could use as a reference point.

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
mohammad farahani
Top achievements
Rank 1
answered on 15 May 2013, 06:12 AM
Thank for your replay. I know that RadMenu cached my sequential request but how can i clear it after every request or refresh it with my new request. also  client template does not  support with Rad 2009 Q2 sp1.Can i update it to new version with out any mistake?
Tags
Menu
Asked by
mohammad farahani
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
mohammad farahani
Top achievements
Rank 1
Share this question
or