Hi,
I have seen that the webdropdown remains open after the page-load. May I know how to close a webdropdon in javascript once I am done with a specific operation.
Hello Sunil,
Thank you for posting in the community.
WebDropDown may be closed using thecloseDropDownjavascript function. As the dropdown remains open after a postback in this scenario I would suggest handling theInitializeclientside event and setting a small timeout before closing the item container. For instance:
function WebDropDown1_Initialize(sender, eventArgs) { setTimeout("ig_controls.WebDropDown1.closeDropDown();", 100); }
Please let me know if this helps.