Internet Explorer, Right-click - "Export to Microsoft Excel" on a Gridview.
Hello folks:
Using IE 8, when hovering over a Gridview, you can use the browser's built-in funtionality to export the data to Excel. The problem is that when you use this command, it exports the default display of the Gridview data, NOT what is CURRENTLY being displayed. So for example, if you are using paging or have data in a Gridview that's filtered, the exported data will not correspond to the way the browser is displaying it. Rather, it corresponds to the way the data in the Gridview looks when it is first loaded and rendered for the first time. How do you deal with this? It should be WYSIWYG, What You See Is What You Get.
Thanks-
WebDev123
|