I recently upgraded to 2013.1.403.40. Since then, a page has stopped filtering a Grid correctly.
This was working OK before the upgrade.
I've observed that once the RadComboBox is changed to filter the Grid, instead of the SelectedIndexChanged event firing and then the Grid's OnNeedDataSource event, the opposite occurs. So the RadComboBox value needed to filter the Grid isn't there.
I know from documentation that "If ViewState optimization is enabled, RadGrid will fire NeedDataSource and will bind after each post back to restore its items....RadGrid and its TableView manage the state of the following features while the EnableViewState property is set to False: ...Filter expressions(but not the filter value in the input control)..."
Note that I use a local class to store the value of the RadComboBox, which is then accessed to filter the grid in OnNeedDataSource .
I guess I'm wondering if this is a new bug, or one that was fixed and now my code is wrong.
Thanks for any info,
Robert
- The Grid has EnableViewState = False.
- The Gird has GridBoundColumns containing RadComboBoxes that are used to filter the Grid when the RadComboBox's SelectedIndexChanged() fires.
This was working OK before the upgrade.
I've observed that once the RadComboBox is changed to filter the Grid, instead of the SelectedIndexChanged event firing and then the Grid's OnNeedDataSource event, the opposite occurs. So the RadComboBox value needed to filter the Grid isn't there.
I know from documentation that "If ViewState optimization is enabled, RadGrid will fire NeedDataSource and will bind after each post back to restore its items....RadGrid and its TableView manage the state of the following features while the EnableViewState property is set to False: ...Filter expressions(but not the filter value in the input control)..."
Note that I use a local class to store the value of the RadComboBox, which is then accessed to filter the grid in OnNeedDataSource .
I guess I'm wondering if this is a new bug, or one that was fixed and now my code is wrong.
Thanks for any info,
Robert