Results 1 to 6 of 6
  1. #1
    Join Date
    Feb 2008
    Posts
    21

    Unanswered: 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?

  2. #2
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    Hard to tell without seeing the code
    George
    Home | Blog

  3. #3
    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)

  4. #4
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    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
    Home | Blog

  5. #5
    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.

  6. #6
    Join Date
    Jan 2007
    Location
    UK
    Posts
    11,434
    Provided Answers: 10
    I can't help without seeing the code, sorry.
    George
    Home | Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •