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

Grid Multi-select Checkbox Filter values

3 Answers 156 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Travis
Top achievements
Rank 1
Travis asked on 17 Feb 2016, 12:05 AM

I'm looking for help on using the radgrid checkbox filtering.  Everything is working good but I would like to get the value of what is checked when I export my grid to PDF.  I want to include these values in the header in the PDF.  I tried using: 

string str2  = RadGrid1.MasterTableView.Columns.FindByUniqueName("mycolumn").CurrentFilterValue;  

 but this just returned an empty string. 

 

3 Answers, 1 is accepted

Sort by
0
Travis
Top achievements
Rank 1
answered on 19 Feb 2016, 04:59 AM
Anyone else run into this issue? 
0
Accepted
Kostadin
Telerik team
answered on 19 Feb 2016, 01:47 PM
Hello Travis,

Please try using ListOfFilterValues property to get the selected items text of the checkbox filtering.
string[] str2 = RadGrid1.MasterTableView.Columns.FindByUniqueName("mycolumn").ListOfFilterValues;


Regards,
Kostadin
Telerik
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 Feedback Portal and vote to affect the priority of the items
0
Travis
Top achievements
Rank 1
answered on 19 Feb 2016, 04:35 PM
That works, thanks Kostadin!
Tags
Grid
Asked by
Travis
Top achievements
Rank 1
Answers by
Travis
Top achievements
Rank 1
Kostadin
Telerik team
Share this question
or