I am using the NeedDataSource to handle my grid's sorting and paging and I am running into an issue. I do not want my grid to display its records on page load, so I wire up the OnNeedDataSource event handler in the page load when its a postback. Now, I need to distinguish when the user clicks the search button (which calls grid.rebind()) and when the user pages or sorts. I thought I could just check the re-bind reason, but it always states "InitialLoad".
Any ideas?
Any ideas?