Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Menu > Preventing menu collapse
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Preventing menu collapse

Feed from this thread
  • sean parker avatar

    Posted on Aug 26, 2005 (permalink)

    I'd like to implement a menu template with a few radcomboboxes and a radio button list, but am not able to prevent an open menu from collapsing when a selection is made a radcombobox. I'd hoped that I could fire the close event myself, so that after all the user selections are made, they could hit an 'apply' button which would invoke the close event.

    I did read the post below, but I can't tell if this is really the same issue, and if so, whether or not it was resolved in SP1. I'm using the Q3 SP1 release. Thanks.

  • Nick Nick admin's avatar

    Posted on Aug 29, 2005 (permalink)

    Hello Sean,

    I am afraid it appears that you discovered a glitch in the integration between r.a.d.combobox and r.a.d.menu - thank you for reporting it to us. I have talked to our devs and they will look at finding a solution to the problem for the next menu and combobox releases that are due in the middle of next month. We upgraded your points for this bug submission.

    By then you can use the ShowMenu() and HideMenu() client-side methods of the Menu class. Also, to hide the descendants you must use the CloseAll(0) method of the menu object. Please review the example below, hopefully it will get you started (comments are in red):

    //this is a client-side OnClientClick event handler:

    function CloseMenuAuto(item)
    {
    //closing all sub groups that are open/active
    item.ParentMenu.CloseAll(0);

    //closing the root group
    item.ParentMenu.HideMenu();

    }

    Hope this helps.

    Sincerely yours,
    Nick
    the telerik team

  • sean parker avatar

    Posted on Aug 29, 2005 (permalink)

    Thanks for the reply, Nick. I'll look forward to the next release.

    Thanks also for the work around....but how does it actually prevent the menu from closing? It looks like it's a client solution for closing an open menu system..but how do I prevent the menu from closing while selections are made from child controls? Maybe I'm missing something...? Thanks.

  • Nick Nick admin's avatar

    Posted on Aug 29, 2005 (permalink)

    Hi Sean,

    Actually, the code I sent you does not really prevent the menu from collapsing. What I meant was that you can use an event handler and when a combobox item is selected to show the menu group
    (ShowMenu();) which is about to be collapsed. However, this is not the best approach, so I suggest that you wait for the official release where the problem will be fixed.

    Once again we apologize if this issue is causing you inconvenience and want to re-assure you that it will be resolved soon.

    Kind regards,
    Nick
    the telerik team

  • John Smith avatar

    Posted on Apr 9, 2011 (permalink)

    Was this issue ever resolved?  I'm having the same problem.

  • Kate Kate admin's avatar

    Posted on Apr 13, 2011 (permalink)

    Hello John,

    Do you refer to the classic controls or the ASP.NET AJAX controls? In case you refer to the classic controls, I will be sorry to inform you that we no longer provide support for them. You can read more about that here. If you, however, refer to the ASP.NET AJAX controls can you give some more details about the issue that you encounter?

    Greetings,
    Kate
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Menu > Preventing menu collapse