Set menu expanded server-side?

2 posts, 0 answers
  1. Arthur Wait
    Arthur Wait avatar
    1 posts
    Member since:
    Dec 2007

    Posted 10 Jun 2008 Link to this post

    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
  2. Erjan Gavalji
    Admin
    Erjan Gavalji avatar
    1455 posts

    Posted 13 Jun 2008 Link to this post

    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
Back to Top