I'd like to Output Cache my menu - it is different in only 2 cases - Logged in and ClientID; I can handle these OK but what can I do about the selected item? Currently I'm using FindItemByValue and selecting it in code.
How to handle the selected Item client side please?
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.
Thanks you for the reply.
Yes, I have already implemented this but it doesn't solve the issue of the 'SelectedItem'
I'm just wondering if it is possible now?
Cheers,
Jon
0
Kate
Telerik team
answered on 29 Mar 2013, 02:00 PM
Hello Jon,
An equivalent of the server side code FindItemByValue("ItemText").Selected=true (as I assume it is the one that you are using) would be a findItemByValue("ItemText").set_selected(true); asexemplified in the following two articles - RadMenu object and RadMenuItem object. Give it a try and let me know if this helps in getting the desired scenario.
Regards,
Kate
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.