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,313 users have contributed to 108,208 threads and 120,291 posts.

In the past week, we've had 1,397 new users, adding to our total of 446,625 registered users!

In the past 24 hours, we have 6 new thread(s), 20 new post(s), and

In the past 3 days, the most popular thread for everyone has been "Gauge image missing seemingly randomly". The post with the most views is "Problem fixing group by rows". The most replies were made to "Gauge image missing seemingly randomly".

Please welcome our newest member GsMm0Z8nZ.