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

Export to excel gridview with open, save, cancel options?

5 Answers 129 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.
victor
Top achievements
Rank 1
victor asked on 17 Mar 2011, 04:51 PM
Hi dear support.
I have exported my  radGridView to excel using the example in your demo,this example make use of
dialog.OpenFile(). 

BUT
I want to export radGridView to excel . When I click a button I need a prompt window with open/save/cancel options.This I need to implement in Silverlight


Is there any way to make this?
Thanks

5 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 17 Mar 2011, 05:00 PM
Hi,

 I guess you are referring to the browser download dialog? This will be shown only when you download something from the server however our demo is completely client-side. 

Regards,
Vlad
the Telerik team
0
victor
Top achievements
Rank 1
answered on 17 Mar 2011, 05:13 PM
Yes sir I know it is a client-side implementation,  but is there any way to open the file without save it first?
our user need to open the created excel directly. or save it or cancel.
is there any way to make this on the client-side?
 
0
aubrey
Top achievements
Rank 1
answered on 02 May 2011, 07:48 AM
Hi victor, 

if ever your problem has been answered can you share it with me?
i do badly needed that to my project..
 
Regards,
Aubrey
0
victor
Top achievements
Rank 1
answered on 03 May 2011, 02:51 AM
Hi,
Telerik did't help me, so the only option is to make a web service on the server, this web service must receive all your data from your silverlight application or query to then programmatly build the excel file and save it with a unique name inside a virtual directory, then just return that url of your file to your silverlight client application. so only this way you will have the open, save, cancel options.

but  my client finally accept the telerik option to export =D, cuz it would take a lot of time to do all I describe above (time searching the way to implement all)
See you.


0
aubrey
Top achievements
Rank 1
answered on 03 May 2011, 03:46 AM
Hi victor,

Thanks for the response. Truly it takes a lot of time to implement your concept. ^_^ 

Best regards,
aubrey
Tags
GridView
Asked by
victor
Top achievements
Rank 1
Answers by
Vlad
Telerik team
victor
Top achievements
Rank 1
aubrey
Top achievements
Rank 1
Share this question
or