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

Radfilter and Radgrid inline filter syncronization

4 Answers 110 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Abhijit
Top achievements
Rank 1
Abhijit asked on 12 Oct 2012, 02:09 PM
Hi Team,

We have a requirement where we need the RadFilter and RadGrid Inline filter in synchronization, we have noticed that this does not happen out of box in Telerik. So we tried to create a Filter Expression via code and apply it on the grid, It did work but it broke up on the paging of the control.

I would be very grateful if anyone could upload a sample code which does the same. If there is any other way, please do let us know.

Thanks in advance.

Regards,
Abhijit Narvekar

4 Answers, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 17 Oct 2012, 08:44 PM
Hi,

Can you please verify that you have examined our online example for filtering grid with RadFilter? http://demos.telerik.com/aspnet-ajax/filter/examples/integration/defaultcs.aspx?product=grid

Kind regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Abhijit
Top achievements
Rank 1
answered on 18 Oct 2012, 04:48 AM
Thanks for the reply, we did go through that example but it does contain our complete scenario. The grid in that scenario does not have inline filters. In our case, we need inline filters and RadFilter both to work together. Below is a small example of the same

Employee Name      Age            Designation
John                           30                Project Lead
Martin                         22               Software Engineer
Samuel                       24               Software Engineer
Mark                           22               Software Engineer

Using the inline filter, i enter [Designation] = "Software Engineer" and using RadFilter if i enter [Age] = 22 then i should get the below mentioned result

Employee Name      Age            Designation
Martin                        22               Software Engineer
Mark                          22               Software Engineer

[Designation]="Software Engineer" && [Age]="22"

Regards,
Abhijit Narvekar
0
Pavlina
Telerik team
answered on 22 Oct 2012, 03:51 PM
Hello,

To be able to provide more to the point answer it will be best if you can send us a simple running project (incl. CSS, images, skins, DB backup if needed and so on) demonstrating the problem (and step-by-step instructions on doing so). In that way we can reproduce and pinpoint the problems you're facing on our side, understand the logic of your application and provide a solution.

Thank you.

Regards,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Abhijit
Top achievements
Rank 1
answered on 29 Nov 2012, 10:42 AM
Hi Pavlina,

We have resolved this issue, Had to create the filter expressions and apply them on the grid. Also in the ItemCommand event of the grid i had to set the following code

else if (e.CommandName == Telerik.Web.UI.RadGrid.FilterCommandName)
            {
                e.Canceled = true;
}

Thanks for all the help

Regards,
Abhijit Narvekar
Tags
Grid
Asked by
Abhijit
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Abhijit
Top achievements
Rank 1
Share this question
or