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

[Solved] Filtering when filter textbox is empty

1 Answer 131 Views
Grid
This is a migrated thread and some comments may be shown as answers.
guillaume.lebel
Top achievements
Rank 1
Iron
Iron
guillaume.lebel asked on 09 Oct 2009, 02:55 PM
Hi,

I would like to know if its possible to activate filter in a grid any time.

I currently have a grid with alot of data in it but sometimes i need to be able to filter on empty value so i can modify only the row who doesn't have data in it.

Thx for your time,
Yours faithfully,

Guillaume

1 Answer, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 15 Oct 2009, 07:24 AM
Hello Guillaume,

The filter options "IsNull" and "NotIsNull" filter by empty values, or values that are null in your data source. Note that if you may need to set EnableLinqExpressions="false" for these options to work.

Alternatively, you can implement your custom filtering, for example with RadComboBox containing an item that filters by null vlaues. Attached is a small web page that demonstrates this.

Greetings,
Veli
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Grid
Asked by
guillaume.lebel
Top achievements
Rank 1
Iron
Iron
Answers by
Veli
Telerik team
Share this question
or