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

GridView not filtering null

2 Answers 75 Views
GridView
This is a migrated thread and some comments may be shown as answers.
TheLostLeaf
Top achievements
Rank 2
TheLostLeaf asked on 03 Sep 2010, 09:26 PM
Hi,

I have GridView 2010.2.10.713 WinControls,
Using the built in filtering in the GridView binding with a datatable. All other filter methods work but null/

Whenever I say is Null or is not null, nothing happens, then after trying different filters with values it sometimes works.

Thanks
-Eric

2 Answers, 1 is accepted

Sort by
0
TheLostLeaf
Top achievements
Rank 2
answered on 06 Sep 2010, 10:03 PM
I was able to figure out a work around.

1.) Set the filter to  Equals/IsEqualTo and the value to anything but blank, you can use a space.
2.) Change the filter to IsNull or IsNotNull, now it works perfect.

Thanks
Eric
0
Accepted
Svett
Telerik team
answered on 08 Sep 2010, 05:55 PM
Hello TheLostLeaf,

We are glad that you have found the solution on your own. The explained scenario is know issue that I am glad to announce that we have already addressed for the up coming service pack. 

Greetings,
Svett
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
TheLostLeaf
Top achievements
Rank 2
Answers by
TheLostLeaf
Top achievements
Rank 2
Svett
Telerik team
Share this question
or