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
550
igcmbo_getComboById(webComboId) Need Equivalent in WebDropDown
posted

Hi ,

i need Equivalent code in WebDropDown  for below codes .

igcmbo_getComboById(webComboId);

var div = oCombo.getGrid().getDivElement();  what will be Equivalent  in webdropdown ?

I tried using $find("<%= wddcmbApplication.ClientID %>"); and $find('wddcmbApplication'); both are giving null 

find the attached screen shot.

code:-

<ig:WebDropDown ID="WddcmbApplication" ClientEvents-DropDownOpened="wddcmbApplication_AfterDropDown" ClientEvents-DropDownClosed="wddcmbApplication_AfterCloseUp"
ClientEvents-DropDownClosing="wddcmbApplication_BeforeCloseUp" runat="server" Width="200px" BorderStyle="Solid" BorderColor="LightBlue" BorderWidth="2px"
MultipleSelectionType="Checkbox" EnableClosingDropDownOnSelect="false" EnableViewState="false" DisplayMode="DropDownList" EnableMultipleSelection="true" >
</ig:WebDropDown>

Js Code:-

function wddcmbApplication_AfterCloseUp(sender, eventArgs) {
var oCombo = $find('#WddcmbApplication');
//var oCombo = igcmbo_getComboById(webComboId);   //webcombo code
oCombo.setDropDown(true); //giving error in webdropdown

 var div = oCombo.getGrid().getDivElement();  //giving error in webdropdown
}

thanks

Ravi