I used javascript debugger and did find an object to get the "checked" items in my RadComboBox.
what is the proper way to do this so I can clean up my code?
in my case I am getting the list of categories to send to RadScheduler provider
what is the proper way to do this so I can clean up my code?
in my case I am getting the list of categories to send to RadScheduler provider
window.OnClientAppointmentsPopulating = function (sender, eventArgs) { var combobox = $find("<%=ddlCatToShow.clientID %>"); var list = ""; var items = combobox.get_items(); var array = combobox._checkedIndices.toString().split(',') for (var i = 0; i < array.length-1; i++) { var item = items.getItem(array[i]); //alert(item.get_text()); //alert(item.get_value()); list += item.get_value() + ","; } eventArgs.get_schedulerInfo().CategoryList = list.replace(/,\s*$/, "");};