This question is locked. New answers and comments are not allowed.
Hi,
I'm working on a Silverlight project that include your RadGridView and I've to say that it is really great.
Now I've a problem when implementing a custom filtering control for a DateTime column. I followed a sample included into the downloaded zip that creates a filtering control with a "from" datetime picker and a "to" datetime picker.
The issue comes when adding a composite filter descriptor to the RadGridView.FilterDescriptors collection, the Filtering event is not fired.
I need to handle such event to add a standard filterdescriptor to the domaindatasource which in turn post the composite filter to the server.
The following is the Filtering handler:
I don't know if it is a bug or I'm missing something,
Thanks!
I'm working on a Silverlight project that include your RadGridView and I've to say that it is really great.
Now I've a problem when implementing a custom filtering control for a DateTime column. I followed a sample included into the downloaded zip that creates a filtering control with a "from" datetime picker and a "to" datetime picker.
The issue comes when adding a composite filter descriptor to the RadGridView.FilterDescriptors collection, the Filtering event is not fired.
I need to handle such event to add a standard filterdescriptor to the domaindatasource which in turn post the composite filter to the server.
The following is the Filtering handler:
| private void RadGridView_Filtering(object sender, Telerik.Windows.Controls.GridView.GridViewFilteringEventArgs e) |
| { |
| using (dds.DeferLoad()) |
| { |
| foreach (Telerik.Windows.Data.FilterDescriptor d in e.Removed) |
| { |
| RemoveDomainDataSourceFilterDescriptor(d); |
| } |
| foreach (Telerik.Windows.Data.FilterDescriptor d in e.Added) |
| { |
| AddDomainDataSourceFilterDescriptor(d); |
| } |
| } |
| } |
I don't know if it is a bug or I'm missing something,
Thanks!
