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

RadFilter in RadGrid from Server-side

3 Answers 334 Views
Filter
This is a migrated thread and some comments may be shown as answers.
Liji Jose
Top achievements
Rank 1
Liji Jose asked on 08 Apr 2010, 01:20 PM


Hi,

I am new to RadFilter, using it for the first time, I want to know how can I assign filter expression from RadFilter to RadGrid at server-side.

In your demo you have given sample for ListView, could you please provide the same for RadGrid also?

This is something urgent, can you atleast provide the code for the onApplyExpressions event for RadGrid...

Expecting your reply,
Liji

3 Answers, 1 is accepted

Sort by
0
Nikolay Rusev
Telerik team
answered on 08 Apr 2010, 03:13 PM
Hello Liji,

I guess you are missing the following example:
http://demos.telerik.com/aspnet-ajax/filter/examples/integration/defaultcs.aspx?product=grid

Regards,
Nikolay
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.
0
Liji Jose
Top achievements
Rank 1
answered on 08 Apr 2010, 03:51 PM

Hi Nikolay,

Thanks for your response...
But the link you have provided is the only example I got for filtering radGrid using radFilter.

In that link, it describes:
"The demo also demonstrates how to hide the default Apply button of RadFilter and trigger command for building expressions from an external button handler", but my requirement is to get / set the filter expression from the server-side using the default Apply button .

How it can be achieved ?
Please help me, or is there any way around to get the filterexpression of RadFilter at server-side, for radGrid?

-Liji

0
Nategadj
Top achievements
Rank 1
answered on 08 Apr 2010, 05:01 PM
Hello Liji,

Check help for RadFilter (RadFilter Basics) to set and get the filter expressions of the RadFilter control from behind the code.
Tags
Filter
Asked by
Liji Jose
Top achievements
Rank 1
Answers by
Nikolay Rusev
Telerik team
Liji Jose
Top achievements
Rank 1
Nategadj
Top achievements
Rank 1
Share this question
or