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
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
0
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
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
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
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
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
Thanks for all the help
Regards,
Abhijit Narvekar
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