Grid Multi-select Checkbox Filter values

4 posts, 1 answers
  1. Travis
    Travis avatar
    11 posts
    Member since:
    Jul 2014

    Posted 16 Feb Link to this post

    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. 

     

  2. Travis
    Travis avatar
    11 posts
    Member since:
    Jul 2014

    Posted 18 Feb in reply to Travis Link to this post

    Anyone else run into this issue? 
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Kostadin
    Admin
    Kostadin avatar
    1713 posts

    Posted 19 Feb Link to this post

    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
  5. Travis
    Travis avatar
    11 posts
    Member since:
    Jul 2014

    Posted 19 Feb in reply to Kostadin Link to this post

    That works, thanks Kostadin!
Back to Top