I have a radgrid that contains a mastertableview. On top of the mastertableview there is a form to user to search for data results which is used as data source to bind the mastertableview.
When user clicks the search button in the form, a javascript function is invoked to call a web service method to get the result data set. But somehow my web service method only returns current page's amount of data. Meanwhile, no matter which items are selected in the mastertableview by the user, the exporting buttons only export the same set of data.
Because all the data is bounded using javascript in the client side but my exporting code is c#, I am looking for a way to export the items selected by the user or if no items are selected just exporting all the data instead of the data residing in the current page.
Thanks in advance.