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

Custom filter template delete other filter inputs

3 Answers 55 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Fresh
Top achievements
Rank 1
Fresh asked on 03 May 2010, 12:04 PM
Hello guys,
we followed the demo and the other examples about cusotm filter templates and did everything so far well, until one last important point.
We have 5 columns and the last one has a filter template, actually a radcombobox:
    LINK
Now the problem, our input are not kept from one column to the other, why? How to control it?
First we enter let say "A" in the 1st column, the grid is well filtered and we can still see "A" in the filter header. Good.
Next we enter "B" in the 2nd column. The Grid is again well filtered, BUT "A" is gone and we can only see "B".
Next we select "OK" from the last column (radcombobox). The Grid is again well filtered, BUT "B" is gone and we can only see "OK".
So finally, we can only see the last input in the filter header, but the filter expression of the grid contains 3 inputs.
Why are they masked? How to make them visible again? What did we missed in our code?
In other words... HELP!

Here some code:

 

 

 

Thank you

 

 

 

 

3 Answers, 1 is accepted

Sort by
0
Мarkus
Top achievements
Rank 1
answered on 04 May 2010, 03:07 PM
In my case, the problem comes from time to time, even without any custom filter template in my RadGrid
Sometimes the filter header from previous columns disappear after i enter some text to filter on the filter header of another column.

Does it depends from  RadGrid1.MasterTableView.GetColumnSafe() ?
Well, it would be nice to precisely know how to manage these filter header and how to preserve them each time a user filter the RadGrid by entering some text in other columns.

Thank you
Markus
0
Pavlina
Telerik team
answered on 06 May 2010, 09:32 AM
Hello Markus,

Please review the following forum thread which discuss a similar subject and let me know if it is useful for you:
http://www.telerik.com/community/forums/aspnet-ajax/grid/submit-multiple-filter-criteria.aspx

Additionally, I suggest that you examine the help article below:
Operating with the FilterExpression of Telerik RadGrid manually

Kind regards,
Pavlina
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
Fresh
Top achievements
Rank 1
answered on 17 Sep 2010, 04:43 PM
Hello Pavlina,

well we finally managed to follow your instruction (http://www.telerik.com/help/aspnet-ajax/grdoperatewithfilterexpression.html) and implemented our own filter mechanism.

Now everything is working fine.

Thank you again!
Tags
Grid
Asked by
Fresh
Top achievements
Rank 1
Answers by
Мarkus
Top achievements
Rank 1
Pavlina
Telerik team
Fresh
Top achievements
Rank 1
Share this question
or