Hello,
I get some values dynamically depending on a textbox. I would like to populate a webmenu from javascript with theses values, is it possible ?
thx in advance
You can modify already existing menu items but you cannot add or remove menu items through JavaScript. If you wish to actually add or remove items from the control, you will have to post back to the server whether it be through an UpdatePanel or a full page postback. If you are going to have a static count of items, then you can just modify the Item object's Text, TargetUrl, Enabled, etc.
Item Object Members:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/WebMenu_Item_Object_CSOM.html
WebMenu CSOM:
http://help.infragistics.com/Help/NetAdvantage/NET/2008.2/CLR2.0/html/WebMenu_CSOM.html