This is a migrated thread and some comments may be shown as answers.

[Solved] error in exporting to excel from grid

3 Answers 144 Views
Grid
This is a migrated thread and some comments may be shown as answers.
San
Top achievements
Rank 1
San asked on 21 Feb 2013, 10:29 AM
Hi
while exporting to excel using exporttoexcel command is throwing below error.

internet explorer can't download Filename from the sitename alert box is coming if prefix contains https://.   but for  http:// it's exporting fine

in case of other browser it's not giving ant error..

how do i rectify this issue ,it's very very urgent..


Thanks
San





3 Answers, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 25 Feb 2013, 09:30 AM
Hello Santosh,

Please try the code shown in the Export over SSL section.
Export overview

Best regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
San
Top achievements
Rank 1
answered on 25 Feb 2013, 09:57 AM
Hi Daniel,

As per your replied link, i have tried the below code in page load but it's not working..


RadGrid1.Page.Response.ClearHeaders();
RadGrid1.Page.Response.Cache.SetCacheability(HttpCacheability.Private); 

could you please suggest me what more changed i have to made...
it's very very urgent.please help me out.
i am not able to find any other solution for this.


Thanks
Santosh
0
Daniel
Telerik team
answered on 25 Feb 2013, 03:16 PM
Hello Santosh,

We have positive feedback from our customers that this solution helps avoid this IE limitation.
As an alternative you can try the solution provided by Microsoft here:
http://support.microsoft.com/kb/323308

Best regards,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
San
Top achievements
Rank 1
Answers by
Daniel
Telerik team
San
Top achievements
Rank 1
Share this question
or