Hello,
I am populating my drop down list using the following code:
var source ={ datatype: "json", type: 'GET', url: 'Service.aspx/GetList', cache: false, datafields: [ { name: 'ID'}, { name: 'City'} ],}var dataAdapter = new $.jqx.dataAdapter(source, { contentType: "application/json; charset=utf-8", loadError: function (xhr, status, error) { alert(error); }, downloadComplete: function (data, textStatus, jqXHR) { return data.d; }});$("#dropdownlist").jqxDropDownList({ source: dataAdapter, displayMember: "City", valueMember: "ID", width: '300', height: '25', theme: theme });
when the list items change in the server side, i want to fill the drop down list dynamically by using a refresh button.
How can i achieve this ?
for grid, i am using updatebounddata. Could not find anything for drop down list.
Thanks