I have a dropdown list binding to a datasource with duplicate records. Is there any way I can remove the duplicate items in the dropdown list? I don't want to remove the duplicate records in the datasource because it is shared by a grid. Thanks.
1 Answer, 1 is accepted
answered on 01 Apr 2015, 08:31 AM
The DropDownList widget renders the content of the underlying data source. That being said, the only way to remove the duplicate items is to modify the data source. If you do not want to modify the grid's data source, then you will need to use a separate data source for the dropdownlist and filter it in order to remove the duplicate items.