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

Issue filtering string column if there are null values

1 Answer 25 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Brent
Top achievements
Rank 1
Brent asked on 29 Oct 2008, 09:58 PM
I am getting a javascript error if I try to apply a Contains filter on a GridBoundColumn if the column contains nulls in the data source.  I have not overridden any of the filtering behavior, yet if I try to apply a Contains, Does Not Contain, Starts With, or Ends With filter I get an error in an anonymous javascript function on this line: 

_this._webRequest.completed(Sys.EventArgs.Empty);

Other filters work and these 4 filters work if there are no nulls in the datasource for that column.  Does anyone have any clues as to what is cuasing this?

Thanks,
Brent

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 03 Nov 2008, 10:35 AM
Hello Brent,

Can you please verify whether you use the .NET 3.5 build of RadControls for ASP.NET AJAX? If so, check whether setting the EnableLinqExpressions property of the grid to false eliminates the error.

Best regards,
Stephen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
Brent
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or