This question is locked. New answers and comments are not allowed.
Hi,
I am using the doamin datasource with paging. when i apply the fieldfilter by selecting from each column and on filtering event of grid i am fetching the descriptor value an saving it on a string and also adding those to domaindatasource control to make the filter server side. i have that saved filter descriptor saved, no i want that filter descriptor to apply on the domain dataosurce and at the same time it indicate on the column that filter is applied.
i am suing this below code to add the filter descriptor
That is doing the filter but not at server side but at the client side.
Please suggest.
Thank you
Hrushikesh
I am using the doamin datasource with paging. when i apply the fieldfilter by selecting from each column and on filtering event of grid i am fetching the descriptor value an saving it on a string and also adding those to domaindatasource control to make the filter server side. i have that saved filter descriptor saved, no i want that filter descriptor to apply on the domain dataosurce and at the same time it indicate on the column that filter is applied.
i am suing this below code to add the filter descriptor
if ((issAppSettings.Contains("TestFilterSettings"))) foreach (string fditem in issAppSettings["TestFilterSettings"].ToString().Split('~')) { Telerik.Windows.Data.FilterDescriptor descriptor = new Telerik.Windows.Data.FilterDescriptor(); descriptor.Member = fditem.Split('|')[0]; descriptor.Value = fditem.Split('|')[1]; descriptor.Operator = (Telerik.Windows.Data.FilterOperator)Enum.Parse(typeof(Telerik.Windows.Data.FilterOperator), fditem.Split('|')[2].ToString(), true); //this.grdList.FilterDescriptors.Add(descriptor); ColumnFilterDescriptor countryColumnFilter = new ColumnFilterDescriptor((Telerik.Windows.Data.IDataFieldDescriptor)this.grdList.Columns[fditem.Split('|')[0]]); countryColumnFilter.FieldFilter.FilterDescriptors.Add(descriptor); this.grdList.FilterDescriptors.Add(countryColumnFilter); }That is doing the filter but not at server side but at the client side.
Please suggest.
Thank you
Hrushikesh
