Export To Excel kill Session Values
ASP.NET
1
Posts
1
Posters
0
Views
1
Watching
-
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