Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1035
Getting WebDataMenu Items from CSOM?
posted

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

Parents
  • 49378
    posted

    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.

    WebDataMenuCSOM.zip
Reply Children