hello,
how can i hide my webmenu using javascript(clientside).
i am using this Version=6.3.20063.53 of infragistics.
Thanks
It appears that there is currently no way to set the visibility of the WebMenu using client side script. We will look at adding this feature in a future release.
Devin
I thought this is basic functionality of WebMenu.As there is Show WebMenu function,i thought there will be Some function for Hide WebMenu.
May i know when this functionality will be implemented in Version=6.3.20063.53 because i have stuck at that point.It's Urgent.
AmolS.
Are you refering to the showMenu() function? This function is used to show the web menu at a specific x/y corredinate when you are using the control as a context menu. I do not beleive there is a corresponding hideMenu function simply because when the menu losed focus the control will automatically hide it for you.
Are you using the WebMenu as a context menu or in some other configuration? Are you looking to hide the entire WebMenu control or just a single menu item? Can you provide some more detail on your specific scenario so we can better understand what you are trying to accomplish?
Thanks for your reply.
I am using WebMenu as PopUp menu.i am using ShowMenu function to show webmenu in other frames using
parent.frames[1].igmenu_showMenu(name, event, parentItem.Element.offsetLeft + parentItem.Element.offsetParent.offsetLeft, -5);.
i want to hide entire WebMenu.
AmolS
OK...is there a reason you need to hide the context menu programatically rather than just letting the end user click something else, or give some other element focus on the page (which should automatically cause the context menu to become hidden)? You might have a really valid reason for need to do this that we have never thought of and I jut want to make sure I fully understand your scenario before writing up an enhancement request.
Hey dismiss() works. I was facing the same problem on how to hide the contextmenu. I saw this article
and used igmenu_getMenuById("<%=this.CopyMenu.ClientID %>").dismiss();. It worked.
Thanks.
Angsram
Actually i am using Frameset.There are two frames,one frame containing my parent webmenu.Another frame have three subframes.On click on parent Webmenu items ,popup menu shows in respective child frames.There are four webmenu items in Parent WebMenu,on click on one item popup menu shows in one frame.On click on another item popup menu shows in another frame.But at that time i want to hide popup menu which was shown in first frame.
I have seen that article and tried it,but it is not working.
And of course, as I continue to play catchup on my holiday email backlog, our Developer Support Manager points me to this article which may solve your problem:
http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.aspx?ArticleID=10083