
Sean Severson
Top achievements
Rank 1
Sean Severson
asked on 19 Nov 2010, 04:10 PM
I am running Telerik controls file version 1010.1.415.20.
In the NeedDataSource on my RadGrid, I am reformatting the FilterExpression to apply a Null filter. However, the Null filter is not being applied. Instead, I get all records from my DataSet (which is a generic list). Is the Null filtering broken in the version of the Telerik controls I am running?
Sean M. Severson
In the NeedDataSource on my RadGrid, I am reformatting the FilterExpression to apply a Null filter. However, the Null filter is not being applied. Instead, I get all records from my DataSet (which is a generic list). Is the Null filtering broken in the version of the Telerik controls I am running?
Sean M. Severson
4 Answers, 1 is accepted
0
Hi Sean,
Please, try replacing the FilterExpression in the ItemCommand event handler of RadGrid, as shown in Example 2 of this help article and see if it solves the issue on your side:
Custom option for filtering
All the best,
Tsvetina
the Telerik team
Please, try replacing the FilterExpression in the ItemCommand event handler of RadGrid, as shown in Example 2 of this help article and see if it solves the issue on your side:
Custom option for filtering
All the best,
Tsvetina
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0

Sean Severson
Top achievements
Rank 1
answered on 24 Nov 2010, 08:45 PM
Tsvetina,
My code does replace the filter expression with my own, but the isnull filter expression does not appear to work. I'm creating a filter expression of "([RelatesTo] == null)". The datasource for my grid is a generic list.
Sean M. Severson
My code does replace the filter expression with my own, but the isnull filter expression does not appear to work. I'm creating a filter expression of "([RelatesTo] == null)". The datasource for my grid is a generic list.
Sean M. Severson
0
Hello Sean,
There might be a mistake in the filter expression syntax. The easiest way to check would be if you use the built-in filtering of the grid to create a IS NULL filter expression and compare it to yours. Have you already prepared this check? Also, have you set EnableLinqExpressions="false"?
Greetings,
Tsvetina
the Telerik team
There might be a mistake in the filter expression syntax. The easiest way to check would be if you use the built-in filtering of the grid to create a IS NULL filter expression and compare it to yours. Have you already prepared this check? Also, have you set EnableLinqExpressions="false"?
Greetings,
Tsvetina
the Telerik team
Browse the vast support resources we have to jumpstart your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0

Sean Severson
Top achievements
Rank 1
answered on 02 Dec 2010, 02:18 PM
Tsvetina,
I do not have EnableLinqExpressions="false". I plan to see how the built-in filtering formats an "is null" search expression and rework my search to match. I'll post again if I don't have any luck fixing this. Thanks.
Sean M. Severson
I do not have EnableLinqExpressions="false". I plan to see how the built-in filtering formats an "is null" search expression and rework my search to match. I'll post again if I don't have any luck fixing this. Thanks.
Sean M. Severson