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,476 users have contributed to 108,640 threads and 120,753 posts.

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

In the past 24 hours, we have 53 new thread(s), 188 new post(s), and

In the past 3 days, the most popular thread for everyone has been "Ultrawebgrid Drag and Drop". 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 djvaldezc.