Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 4 > ASP.NET 4 General Discussion
|
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 18th, 2013, 01:18 PM
Authorized User
 
Join Date: Aug 2012
Posts: 39
Thanks: 4
Thanked 1 Time in 1 Post
Default 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
 
Old January 18th, 2013, 01:23 PM
Authorized User
 
Join Date: Aug 2012
Posts: 39
Thanks: 4
Thanked 1 Time in 1 Post
Default Web Research..

By the way, I spent a decent amount of time googling and reading about this issue and haven't seen a whole lot of responses to this issue. The ones I did see, are rather convoluted. The whole intent of this built-in browser feature it to simplify, so I'm looking for an equally elegant (simple) solution.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Page 12, "Double-click the Properties node in Solution Explorer" lkelly BOOK: Professional Visual Studio 2010 1 June 8th, 2011 04:26 PM
Is it possible of creation object "Microsoft.XMLHTTP" in windows 2008 server 64 bit umamahesh2020 Classic ASP Professional 1 March 14th, 2011 10:35 AM
Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F ismailc C# 2005 0 September 25th, 2009 04:56 AM
"Piblish to Provider..." Option Not Appearing in Database Explorer Context Menu chrisreyno BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 September 18th, 2009 11:05 AM
Export to Excel Error "HRESULT : 0x800AC472" Michael YoeH ASP.NET 3.5 Professionals 0 July 14th, 2009 03:31 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.