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 aDropDownWindowTemplate
- In the
DropDownItemTemplate
, I add aGridView
and a paging/sorting/filtering enabledObjectDataSource
- When handling the selecting event of the
ObjectDataSource
, I should set filter parameters for the datasource. There filter parameters should come from theFilterRow
of theAspxGridView
(preferably using theAspxGridView.FilterExpression
property).
The problem: the AspxGridView.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.
🙂
Best Answer
I've finally managed to get around the problem.
Not a good solution, but, still, a way to work around it.
So.. The "solution" is to databind the grid on every AfterPerformCallback event.
As I've said, it's not a good solution.