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
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
0
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
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...
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
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.
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
I ended up doing this and it works very well!
http://www.telerik.com/community/forums/aspnet-ajax/grid/how-to-attach-radgrid-data-to-mail.aspx#2612773
http://www.telerik.com/community/forums/aspnet-ajax/grid/how-to-attach-radgrid-data-to-mail.aspx#2612773