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

[Solved] String Filter - Does Not Contain Oddity

1 Answer 77 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Bren
Top achievements
Rank 1
Bren asked on 01 Apr 2009, 09:58 PM
  • Very basic grid setup. Binding to database. Have a string type coming in with potential values
          000111
          003434
          NULL (displays as blank)
          000233
          ect.

  • Problem: When providing a filter of "00" of type 'Contains' it works fine and only returns rows that contain '00'
However, upon changing the filter to 'Does not Contain' the grid doesn't return the rows that have the NULL value, which is odd, because they certainly don't contain '00'...

  • Column code:
<telerik:GridBoundColumn DataField="ApplicationNumber" HeaderText="App ID" UniqueName="ApplicationNumber"  AutoPostBackOnFilter="true" FilterListOptions="VaryByDataType" ReadOnly="true">
  <HeaderStyle HorizontalAlign="Center" />
  <ItemStyle HorizontalAlign="Left" />
</telerik:GridBoundColumn>

Telerik Version: 2008.2.723.35

1 Answer, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 06 Apr 2009, 01:36 PM
Hello Bren,

Can you please try with latest version of RadControls for ASP.NET AJAX and see whether the problem still exists?

I believe that you cannot observe such behavior of RadGrid with latest Q1 SP1 2009 version of RadControls for ASP.NET AJAX.

All the best,
Nikolay
the Telerik team

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