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

[Solved] Problem with export to excel

3 Answers 119 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
suresh
Top achievements
Rank 1
suresh asked on 01 Sep 2009, 11:37 AM
Hi,
   I used rad grid view in my application. and tried to implement Export to excel functionality.I found that it is not exporting to excel in IE 8.
and IE 7.Checked the telerik examples and found that export functionality is not working in these browsers.

                                               http://demos.telerik.com/silverlight/#GridView/Exporting
When i click export button a new browser is opening and closing.But  data is not getting exported.

Please tell me solution for this issue.(should i change any IE settings.)



3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 01 Sep 2009, 11:41 AM
Hi,

You can try save as file option instead.

Regards,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
suresh
Top achievements
Rank 1
answered on 01 Sep 2009, 12:15 PM
Hi ,
  I tried it in the way that you said. I am getting exception here.

 SaveFileDialog dialog = new SaveFileDialog()
                {
                    DefaultExt = extension,
                    Filter = String.Format("{1} files (*.{0})|*.{0}|All files (*.*)|*.*", extension, selectedItem),
                    FilterIndex = 1
                };

                if (dialog.ShowDialog() == true)
                {
                    using (Stream stream = dialog.OpenFile())
dialog.OpenFile() is throwing an exception file not specified.Please tell the solution for this.
0
Vlad
Telerik team
answered on 01 Sep 2009, 01:16 PM
Hello suresh,

I'm not sure about this exception - do you get the same on our demo?

All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
suresh
Top achievements
Rank 1
Answers by
Vlad
Telerik team
suresh
Top achievements
Rank 1
Share this question
or