2008.3.1125.35 VS2008 SP1
Two different behaviors:
If I have AutoPostBackOnFilter set to false, when the user enters a new filter and selects a filter menu, it automatically goes back to page 1. (expected behavior)
If I have AutoPostBackOnFilter set to true, when the user enters a new filter and selects a filter menu, it stays at the current page number. (unexpected behavior)
Ideally it should also go back to page 1. The grid is Ajaxified through RadAjax.
I just resolved this on my own by adding this to ItemCommand.
If e.CommandName = RadGrid.FilterCommandName Then
e.Item.OwnerTableView.CurrentPageIndex = GridResetPageIndexAction.SetPageIndexToFirst
End If
Two different behaviors:
If I have AutoPostBackOnFilter set to false, when the user enters a new filter and selects a filter menu, it automatically goes back to page 1. (expected behavior)
If I have AutoPostBackOnFilter set to true, when the user enters a new filter and selects a filter menu, it stays at the current page number. (unexpected behavior)
Ideally it should also go back to page 1. The grid is Ajaxified through RadAjax.
I just resolved this on my own by adding this to ItemCommand.
If e.CommandName = RadGrid.FilterCommandName Then
e.Item.OwnerTableView.CurrentPageIndex = GridResetPageIndexAction.SetPageIndexToFirst
End If