Hi,
I need to set the ID value for the items which is genrated dynamically.
Like setting txtbox.id ="txtUsername", I need to set for the Items created. Can any one help? Its urgent..
Thanks in advance.
Thanks & Regards,
S Nagarajan
Hello,
You can use the property AccessKey to set ID.UltraWebMenu1.Items[0].AccessKey = “Items0”;Hope this help.
Thanks
Can I access this id using document.getelementbyid in the ItemHover javascript function?
itemhv(menuID, menuItemID, hovered){ // your logic here ...}Where:menuID: The client side ID for the UltraWebMenu, which can be used to get reference to the UltraWebMenu client-side object: var oMenu = igmenu_getMenuById(menuID);
menuItemID: The client side ID for the UltraWebMenu item, which is sending the event. This ID can be used to retrieve reference to the client-side menuItem object: var oItem = igmenu_getItemById(menuItemID);
hovered: This is the boolean parameter which shows where the item was Hovered or UnHovered (mouseout),
You can tap this event by saying the webMenu you want to do so in "MenuClientSideEvents":<MenuClientSideEvents ItemHover="itemhv" />More details can be found here: http://help.infragistics.com/
Hope this helps!