Disabled context menu item hides

4 posts, 0 answers
  1. Rycho
    Rycho avatar
    162 posts
    Member since:
    Feb 2007

    Posted 20 Apr 2008 Link to this post

    Hi,

    When I click on disabled context menu item then whole menu hides which is not intuitive in my scenario. I tried to use

        function OnMenuItemClickingHandler(sender, eventArgs)
        {
                return false;
        }


    but with no avail. Any idea appreciated

    Rycho
  2. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 21 Apr 2008 Link to this post

    Hello,

    We tried to reproduce the problem with the attached page, but to no avail. You can cancel the OnMenuItemClicking event with the following code:

    function OnMenuItemClickingHandler(sender, eventArgs)
        {
                eventArgs.set_cancel(true);
        }




    Best wishes,
    Helen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Rycho
    Rycho avatar
    162 posts
    Member since:
    Feb 2007

    Posted 21 Apr 2008 Link to this post

    Hi Helen,

    First of all try to use "classic" version of RadMenu control (4.4.5) and run it under IE6 or IE7. Context menu hides either while clicking upon disabled item or item which contains other elements which is not what I'm expecting.

    Unfortunately your previously attached demo project is not purposed for this scenario.


    Rycho
  4. Helen
    Admin
    Helen avatar
    1052 posts

    Posted 23 Apr 2008 Link to this post

    Hi Rycho,

    I saw that you selected RadMenu for ASP.NET AJAX product, therefore I answered your question about RadMenu for ASP.NET AJAX.
    Indeed there is a problem with the "classic" version of RadMenu and I will forward it to our development team for further consideration.

    Hope it is not a major show-stopper for you.


    Greetings,
    Helen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top