Hi
I use radgrid with SqlDataSource and paging enabled.
On asp page there is a select command in sqldatasource.
On codebehind i change select command of sqldatasource when page loads and on some circumstances
it works ok at first page.
but when click next page or any page on pager
it clears the sqlcommand which i changed from codebehind and gets the records according to the
sqldatasource's select command which i put asp page at first.
I use radgrid with SqlDataSource and paging enabled.
On asp page there is a select command in sqldatasource.
On codebehind i change select command of sqldatasource when page loads and on some circumstances
it works ok at first page.
but when click next page or any page on pager
it clears the sqlcommand which i changed from codebehind and gets the records according to the
sqldatasource's select command which i put asp page at first.