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

Set menu expanded server-side?

1 Answer 69 Views
Menu
This is a migrated thread and some comments may be shown as answers.
Arthur Wait
Top achievements
Rank 1
Arthur Wait asked on 10 Jun 2008, 09:36 PM
Hi,

I've got a RadMenu requirement where I need to display a page's "selected" menu as expanded when the page loads. I've been able to accomplish this using the OnClientLoad event, but unfortunately this means that the menu snaps open at the end of the page rendering, which is not the desired experience.

Is there a way to override the Render method so that I can reset the inline styles on the menu item so that the selected item is visible and correctly positioned?

If not, is there any other way to do this, other than the OnClientLoad event?

Thanks,

Arthur

1 Answer, 1 is accepted

Sort by
0
Erjan Gavalji
Telerik team
answered on 13 Jun 2008, 01:11 PM
Hi Arthur,

This is a copy from my reply to the support ticket:

I'm afraid I might have not understood your question properly, but I believe you face a problem with the animation of the expanded menu item. Please, find attached a small page, demonstrating how you can initially disable the animation and expand the item. After the expand the animation is restored.

Would you please, complete the page to demonstrate your exact problem if I am missing something?


If there is no problem to continue the discussion in the forums, please, post here, so that other visitors benefit the discussion.

Best regards,
Erjan Gavalji
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Menu
Asked by
Arthur Wait
Top achievements
Rank 1
Answers by
Erjan Gavalji
Telerik team
Share this question
or