DevExpress AspxGridView filter in ObjectDataSource

Posted by Constantin Baciu on Stack Overflow See other posts from Stack Overflow or by Constantin Baciu
Published on 2010-03-16T14:50:21Z Indexed on 2010/03/22 9:41 UTC
Read the original article Hit count: 2169

Yet another problem with DevExpress AspxGridView :)

The context:

  • One Page

  • In the Page, a custom control

  • In the custom Control, a AspxDropDown

  • The AspxDropDown, has a DropDownWindowTemplate

  • In the DropDownItemTemplate, I add a GridView and a paging/sorting/filtering enabled ObjectDataSource

  • When handling the Selecting event of the ObjectDataSource, I should set filter parameters for the datasource. There filter parameters should come from the FilterRow of the AspxGridView (preferably using the AspxGriedView.FilterExpression property).

The problem: the AspxGriedView.FilterExpression property is not set to the proper values (set by the user).

Did anyone find a good implementation of what I'm trying to do here?

Thanks a bunch.

:)

© Stack Overflow or respective owner

Related posts about devexpress

Related posts about aspxgridview