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

Radgrid equalto filter problem in radtab

4 Answers 123 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vishal
Top achievements
Rank 1
Vishal asked on 24 Jun 2013, 07:17 AM
Hello Everyone,

In my application for RADGRID, only the "EQUAL TO"  filter is not working correctly for GridDateColumn .It Shows no results.
This problem occurs only when i include radgrid into a Telerik radtab to show multiple grid in tabs on a page.

I am attaching my code file with this .

Please advise..any solution for the same.

Regards ,
Vishal

4 Answers, 1 is accepted

Sort by
0
Antonio Stoilkov
Telerik team
answered on 26 Jun 2013, 08:05 AM
Hi Vishal,

I have tried to isolate the provided project in order to replicate the issue but to no avail. You could take a look at the attached page and update it in order to show the unwanted behavior so we could debug it and advice you with the best possible solution. Additionally, I have created a video showing the behavior on my side.

Regards,
Antonio Stoilkov
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.
0
Vishal
Top achievements
Rank 1
answered on 02 Jul 2013, 06:00 AM
Hi antonio,
Thanks for your help...
If it does work at your side then I think I need to check some other components of my application.

Will let you know if I get any outcome for that.

Regards,
Vishal
0
Vishal
Top achievements
Rank 1
answered on 09 Oct 2013, 07:47 AM
I found the problem.

Basically it was the data that was being pulled up from Database and displayed in Column.

Equal To  filter works correctly if the time instance of the date field is  in format of  '2001-08-05 00:00:00.000'
but it does not work if your date field is having time instance along with the date part of it....like... '2001-08-05 15:02:20.035'

So it will work if you remove the time instance from your data query before rendering it on the grid.
 

Thank You
0
Accepted
Antonio Stoilkov
Telerik team
answered on 14 Oct 2013, 05:39 AM
Hi Vishal,

You could achieve your scenario by setting the GridDateTimeColumn EnableTimeIndependentFiltering property to true as shown below. Note that the experienced behavior is expected because EqualTo takes into account the time when filtering.
<telerik:GridDateTimeColumn EnableTimeIndependentFiltering="true"></telerik:GridDateTimeColumn>

Regards,
Antonio Stoilkov
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
General Discussions
Asked by
Vishal
Top achievements
Rank 1
Answers by
Antonio Stoilkov
Telerik team
Vishal
Top achievements
Rank 1
Share this question
or