Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Export To Excel kill Session Values

Export To Excel kill Session Values

Scheduled Pinned Locked Moved ASP.NET
csshelptutorial
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    ArunVijay
    wrote on last edited by
    #1

    Hi This is ArunVijay, i am using Telerik Rad Grid Control to Display data, have button names as Export To Excel. when i click the Button it opens a Open Dailag Box to open my Content into Excel File, when this event triggers during the PostBack session values gets cleared. How to overcome this problem, this scenario occurs only when i click the Export To Excel Button and tigger Open Dialog Box. Below is Piece of Code To Export Into Excel. protected void btnExportExcel_Click(object sender, EventArgs e) { excelExport(); dgSampleAnalysis.MasterTableView.ExportToExcel(); } public void excelExport() { dgSampleAnalysis.ExportSettings.ExportOnlyData = true; }

    ArunVijay

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups