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

RadGrid Filter expression.

1 Answer 146 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Prasad
Top achievements
Rank 1
Prasad asked on 11 Mar 2014, 05:08 AM
Hi Team,
 I am working on radgrid with custom paging concept. Here we have four columns with filters. I am facing the problem as follows.

1. Initially I given filter value 'a' contains for column1.
    a.) get the filter expression from current filter expression property in command event.
2. Now I given filter value 'k' contains for column2.
    a.) for this I am getting previous column1 expression from grid filter expression property.
    b.) for column 2(latest filter value) from the current filter expression property in command event.
3.) When I removed the Filter value for column. getting column1 and coulmn 2 expressions from filter expression
expected one is: I dont want column filter value.

Please help me.

Regards,
Prasad.

1 Answer, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 13 Mar 2014, 04:11 PM
Hi Prasad,

If you would like to use custom paging for the RadGrid this article would be helpful to you. Additionally you could check our Custom paging through ObjectDataSource population article. If you would like live illustration of the functionality I would recommend taking a look at this demo.

In case you would like to modify the FilterExpressions manually you could find this article interesting. It explains how different filter expressions in RadGrid are constructed.

This being said, I am not sure I understand exactly what is the issue that you are experiencing. Would you elaborate in more detail what is the exact scenario you would like to implement? Could you also share your full markup with the code-behind so we could have better understanding of your setup?

Regards,
Viktor Tachev
Telerik
 

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

 
Tags
Grid
Asked by
Prasad
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or