Hi,
I'm using the RADGrid to show some search result and I'm using a method (Search()) which basically calls a StoredProcedure to fetch the search result based on the search text. I have RADAjax Manager pice that gives me the desired behavior of not refreshing the page (Postback) and rather shows the result accordingly.
Now the problem is when I goto different pages it works fine but the moment I sort it on some column it shows "No Records to display" even though there are records in the data source.
I have basically a ASP Button and on Click event it calls the Search() method. apart from this I also have the OnPageIndexChanged & OnSortCOmmand event where in I call the Search() method again. I'm doing this way based on the examples I have gone so far. I'm pretty newbie in using the AJAX RadGrid. I would really appreciate if anyone can write a sample for me to understand how to implement RADGrid in such scenario.
Any help is appreciated.
Thanks.
I'm using the RADGrid to show some search result and I'm using a method (Search()) which basically calls a StoredProcedure to fetch the search result based on the search text. I have RADAjax Manager pice that gives me the desired behavior of not refreshing the page (Postback) and rather shows the result accordingly.
Now the problem is when I goto different pages it works fine but the moment I sort it on some column it shows "No Records to display" even though there are records in the data source.
I have basically a ASP Button and on Click event it calls the Search() method. apart from this I also have the OnPageIndexChanged & OnSortCOmmand event where in I call the Search() method again. I'm doing this way based on the examples I have gone so far. I'm pretty newbie in using the AJAX RadGrid. I would really appreciate if anyone can write a sample for me to understand how to implement RADGrid in such scenario.
Any help is appreciated.
Thanks.