Gridview paging and sorting do not work after changing datasource in codebehind??
- by mkafkas
I am having a gridview with an object datasource binded in the markup(aspx page).
When page loads it directly works fine with all sorting and paging properties.
However, i need to filter display on gridview so i have to change the datasource of the gridview on the code behind.
It works fine.. i mean the filtering and displaying is good but paging and sorting doesnt work. Did you have a problem something like this?