If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Gridview export to excel

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-07-08, 10:17
newbieal newbieal is offline
Registered User
 
Join Date: Feb 2008
Posts: 21
Gridview export to excel

I've got a gridview that when loaded in IE the user has the option to show all records (meaning paging is disabled) or show only 10 records (paging = true). If the user displays all records, they should be able to take advantage of the 'export to excel' feature in IE. Right click on gridview, select export-to-excel, and for some reason it only exports the first 10 records, not all of the 100+ records, why is that?
Reply With Quote
  #2 (permalink)  
Old 02-07-08, 14:29
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Hard to tell without seeing the code
__________________
George
Twitter | Blog
Reply With Quote
  #3 (permalink)  
Old 02-07-08, 17:04
newbieal newbieal is offline
Registered User
 
Join Date: Feb 2008
Posts: 21
it's just a normal gridview, nothing fancy. two buttons, one allowing paging (paging = true) one not allowing paging(paging=false)
Reply With Quote
  #4 (permalink)  
Old 02-08-08, 04:15
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
Ok, well this just means I'm only allowed to guess what the problem is...

You say it happens in IE, what about other browsers?
__________________
George
Twitter | Blog
Reply With Quote
  #5 (permalink)  
Old 02-08-08, 11:36
newbieal newbieal is offline
Registered User
 
Join Date: Feb 2008
Posts: 21
ehm...it's an IE function that comes with the browser. I don't know of any browser that has this functionality built in like IE.

Code is very simple: gridview with one button. Gridview is set to allow paging but when button is clicked paging=false and all records are displayed on one page.
Reply With Quote
  #6 (permalink)  
Old 02-09-08, 07:01
gvee gvee is offline
www.gvee.co.uk
 
Join Date: Jan 2007
Location: UK
Posts: 10,156
I can't help without seeing the code, sorry.
__________________
George
Twitter | Blog
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On