I cannot figure out how to get the WebDataMenu javascript Infragistics object. With WebToolbar there was a "igtbar_getToolbarById" function. I also have been unsuccessful using "$find("<% =WebDataMenu1.ClientID %>")". I was able to get an object using "document.getElementById("<% =UWTB_Main.ClientID %>")", but I did not see the "getItems" function described in the documentation at http://help.infragistics.com/NetAdvantage/ASPNET/2011.2/CLR4.0/?page=Web_WebDataMenu.html
Hi jonnydock,
Thank you for posting in the community.
WebDataMenu should be accessible through "$find("<%= WebDataMenu1.ClientID %>")" and also through the ig_controls object - for instance using ig_controls.WebDataMenu1 . Attached is a small sample illustrating these approaches of accessing the clientside menu object (in order to check the number of items currently in the menu).
Please let me know if this helps.
Please feel free to contact me if you are still experiencing any issues with this matter.