This is a migrated thread and some comments may be shown as answers.

HeaderContextMenu Filter and EnableTimeIndependentFiltering

1 Answer 180 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Matej
Top achievements
Rank 1
Matej asked on 12 Jun 2013, 01:50 PM
Hello

We seem to have a weird problem:
We have a grid with GridBoundColumns for all data except for columns with date, for which we use GridDateTimeColumn. Because we need to show full date and time in fields but only filter on date part, we set the property EnableTimeIndependentFiltering="true". After that the grid filters (filter below headers) worked fine but when using the filter from the HeaderContextMenu (on any field) we got browser debugger with exception "Object not set to a reference of an object". If EnableTimeIndependentFiltering="false" the filters work without exceptions being thrown, but in that case we have the problem with date filtering with "EqualTo" returning no results.

We tried to debug the problem, but in code-behind we got to ItemCommand event method, but right after that got the error before getting to OnNeedDataSource.

Is this a bug or are we missing something?

Thank you for your answers in advance

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 17 Jun 2013, 11:08 AM
Hi Matej,

I am sorry to say but this is an unknown issue to us. I tried to reproducing it in a sample project using the latest version but to no avail. Could you please elaborate more on what product versions is being used in your application? Additionally please find the attached website which I used for testing.

Regards,
Angel Petrov
Telerik
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
Tags
Grid
Asked by
Matej
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or