Hi,
I am using a List of "RadComboBoxItemData" objects to load data into RadComboBox using the LoadOnDemand functionality. My Question is,
I have set few attributes on the server side and I want to access them on the client side. let me know how to do that.
For example:
ServerSide(Web Service):
ClientSide:
Any Help will be appreciated. Secondly, I want to implement CheckBoxes so that I can add Multi-Select Functionality to it. Please suggest me a work around on this one.
Thanks in Advance. Appreciate your help.
I am using a List of "RadComboBoxItemData" objects to load data into RadComboBox using the LoadOnDemand functionality. My Question is,
I have set few attributes on the server side and I want to access them on the client side. let me know how to do that.
For example:
ServerSide(Web Service):
List<RadComboBoxItemData> result =
new
List<RadComboBoxItemData>(context.NumberOfItems);
foreach
(row
in
rows)
{
RadComboBoxItemData itemData =
new
RadComboBoxItemData();
itemData.Attributes.Add(
"HostName"
, row[
"HostName"
].ToString());
itemData.Value = row[
"ID"
].ToString();
result.Add(itemData);
}
return result;
ClientSide:
function
onItemDataBound(sender, eventArgs) {
//the combo item
var
item = eventArgs.get_item();
var
dataItem = eventArgs.get_dataItem();
............AND THEN................??
Any Help will be appreciated. Secondly, I want to implement CheckBoxes so that I can add Multi-Select Functionality to it. Please suggest me a work around on this one.
Thanks in Advance. Appreciate your help.