I'm interested in the most efficient way to replace a dataSource for a named dropdownlist (ex: $("#DDL1"). The control is referenced throughout the application therefore I just want to change the datasource.
I want to change the dataSource details inline like so:
But I'm overlooking something...
Thanks in advance!
I want to change the dataSource details inline like so:
$("#DDL1").kendoDropDownList({ dataSource: _urlStates, dataTextField: "attributes.States", dataValueField: "attributes.States" }).data("kendoDropDownList");
Thanks in advance!