locked
Filtering ObjectDataSource/GridView by CheckBoxList? RRS feed

  • Question

  • User366829801 posted

    Is there an easy way to filter an ObjectDataSource based on multiple selected (checked) values in a CheckBoxList using FilterExpression/FilterParameters?

    I want to be able to select multiple values ​​in a CheckBoxList and as a result, only the valid rows displayed in a GridView via an ObjectDataSource.

    Saturday, December 31, 2011 9:51 AM

Answers

  • User3866881 posted

    Is there an easy way to filter an ObjectDataSource based on multiple selected (checked) values in a CheckBoxList using FilterExpression/FilterParameters?

    I want to be able to select multiple values ​​in a CheckBoxList and as a result, only the valid rows displayed in a GridView via an ObjectDataSource.

    It seems that you need a multiple Filtering Control for you GridView……You can finally choose this free AJAX Multi-Filtering control like this following:

    http://www.codeproject.com/KB/webforms/GridViewFilter.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, January 1, 2012 8:16 PM