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

Email Grid as Excel/PDF

4 Answers 158 Views
Grid
This is a migrated thread and some comments may be shown as answers.
AnandS
Top achievements
Rank 1
AnandS asked on 20 May 2008, 03:48 AM
Hi,
I know we can export grid to excel/pdf (opens the save/open dialog box on IE).  However, my client needs a "email as Excel / pdf"  functionality.  Is it possible to get a byte[] of the exported content, so we can attach it to an email.

Thanks,
Anand

4 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 23 May 2008, 07:29 AM
Hi AnandS,

Unfortunately there is not way for achieving such functionality with the current version of our RadGrid control. But we will consider implementing a way to trap the exporting results for the next versions of the control. I have updated your Telerik point for this suggestion.

Regards,
Rosen
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Yuvraj
Top achievements
Rank 1
answered on 28 Jan 2009, 12:59 PM
I also need the same requirement, in my last project i have solved this problem by Gridview rendering to HTMLtextWriter i.e with StringBuilder and appended SB  to email, but current project is using the Telerik radGrid control where i am facing some problem of rendering it due to GridLinkButton should place in Form tag error ( here i am using the custom usercontrol for radgrid without form tag in it, because my Master Page is carring the Form Tag).

To Achive i am trying the trick of attaching the PDF exported document some how to email code ..still working on it.. once got success i ll let this forum know...
0
Rosen
Telerik team
answered on 30 Jan 2009, 12:33 PM
Hi Yuvraj,

You may refer to this blog post for a possible implementation of how to capture the PDF document which is generated by the RadGrid.

Please give it a try and let us know if this helps.

Greetings,
Rosen
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Mike
Top achievements
Rank 1
answered on 25 Jan 2013, 02:25 PM
Tags
Grid
Asked by
AnandS
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Yuvraj
Top achievements
Rank 1
Mike
Top achievements
Rank 1
Share this question
or