I have a listview that shows list of data when a button named "Search" clicked. Near that button i have another button named "Export" that will navigate to an SSRS report url and show list of data exactly the same with the data in the listview.
The question is, some time user clicked the listview header to sort the data, and when they clicked export, as expected the report does not have the same sort order with the listview.
Im thinking to get the sort order value as a parameter to the report url, but i dont know how to get sort order value from listview.
Is there any action or maybe event to get sort order value from a listview?