Gridview paging and sorting do not work after changing datasource in codebehind??

Posted by mkafkas on Stack Overflow See other posts from Stack Overflow or by mkafkas
Published on 2010-03-05T12:35:44Z Indexed on 2010/05/28 22:02 UTC
Read the original article Hit count: 121

Filed under:
|
|
|
  • 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?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about gridview