public static ASPxComboBox SetComboBoxDataSource <T, TKey>(this ASPxComboBox source, IEnumerable <T> dataSource, params Func <T, TKey>[] orderKeySelectors) where T : class { return(source.SetComboBoxDataSource( ConstructSimpleDataSourceInitialDataProvider(dataSource), ConstructSmartFilterKeyProvider <T>(source), ConstructSimpleDataSourceSorter(orderKeySelectors) )); }
public static ASPxComboBox SetComboBoxDataSource <T>(this ASPxComboBox source, IDataSourceInitialDataProvider <T> dataSourceInitialDataProvider) where T : class { return(source.SetComboBoxDataSource( dataSourceInitialDataProvider, ConstructSmartFilterKeyProvider <T>(source), ConstructCommonDataSourceSorter <T>() )); }
public static ASPxComboBox SetComboBoxDataSource <T>(this ASPxComboBox source, IEnumerable <T> dataSource) where T : class { return(source.SetComboBoxDataSource( ConstructSimpleDataSourceInitialDataProvider(dataSource) )); }