Hide menu

rated by 0 users
This post has 1 Reply | 2 Followers

Not Ranked
Points 20
parivellividyasagar Posted: 07-23-2008 8:44 AM

escape  button click hide righ-click(context)menu

  • Filed under:
  • | Post Points: 20
Top 25 Contributor
Points 6,864
Infragistics Employee

 

Hello,

You can use event onkeydown="HideMenu" of body tag and use javascript code below to hide menu.

<body onkeydown="HideMenu">

    <script language="javascript">

         function HideMenu(treeId,button) {

            if(button == 27){

                var menu= igmenu_getMenuById("<%= UltraWebMenu1.ClientID %>").dismiss(); ;

            }

         }

      

    </script>

Also you can take a look at that link

http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=10083

Hope this helps.

 

Best Regards,

Ivan Baev

The Infragistics ASP.NET Team

  • | Post Points: 5
Page 1 of 1 (2 items) | RSS

Forum Statistics

29,462 users have contributed to 108,602 threads and 120,715 posts.

In the past week, we've had 1,068 new users, adding to our total of 447,002 registered users!

In the past 24 hours, we have 55 new thread(s), 183 new post(s), and

In the past 3 days, the most popular thread for everyone has been "Print UltraWebDayView". The post with the most views is "Using WebDataGrid with AjaxScriptManager". The most replies were made to "XamChart and Prism".

Please welcome our newest member aduarte.