Problem in menu

2 posts, 0 answers
  1. Ramaiah Palaniappan
    Ramaiah Palaniappan avatar
    3 posts
    Member since:
    Jul 2008

    Posted 13 Nov 2008 Link to this post

    Dear sir,
                I have a problem in RadMenu . After Main form loaded click the menu using mouse and press esc . Now open shild form and now click Alt key the menu child items are shown . Is there a way to not shown the childitems when child form is open . For your reference i have explain the steps
    NOTE : i am using c#

    Step 1: Creat a new window application with two forms form1 and form2
    Step 2: in Form1 add one menu with subitems and add radbutton and on the click event call the form2 ( form2object.Showdialog();)
    Step 3: Run the application and Click the menuitem1 using mouse and press esc
    Step 4: Now click the radbutton1 ( Form2 is open)
    Step 5: Now click the Alt key (twice) the childitems are shown - How to avoid this

    thanks & regards
  2. Jack
    Jack avatar
    2333 posts

    Posted 17 Nov 2008 Link to this post

    Hi Ramaiah,

    Thank you for this question.

    RadMenu uses a message filter to catch the Alt key. You can avoid the Alt key processing by disabling this message filter. Consider the code snippet below:

    Form2 f2 = new Form2(); 

    I hope this helps. Do not hesitate to contact us if you have other questions.

    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top