I'm populating my listview with some objects via linq (where\orderby) in the NeedsDataSourceEvent
I then also have a textbox on the page for searching...when text is typed into the box, user clicks "search" which really just rebinds the listview and in needsdatasource I grab that textbox search value and bind on that.
The issue I'm running into is when the user does a search filter and clicks a pager item, the entire thing re-binds with the full default datasource again...
Is there some trick to this?
I then also have a textbox on the page for searching...when text is typed into the box, user clicks "search" which really just rebinds the listview and in needsdatasource I grab that textbox search value and bind on that.
The issue I'm running into is when the user does a search filter and clicks a pager item, the entire thing re-binds with the full default datasource again...
Is there some trick to this?