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

Extract grid contents in an HTML format and send it via mail

3 Answers 30 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Elad Amir
Top achievements
Rank 1
Elad Amir asked on 23 Aug 2010, 01:48 PM
Hi,

I need to generate an email which includes, as well, a grid content.

I thought of:
After grid is available, to use one of the client-side events (e.g. grid is ready or whatever suitable) for being directed to an handler who will extract the grid contents in an HTML format and will send it via mail.

How this can be done?

Best,
Elad

3 Answers, 1 is accepted

Sort by
0
Mira
Telerik team
answered on 26 Aug 2010, 09:42 AM
Hello Elad,

I have followed your scenario and prepared a sample project demonstrating how the HTML of the grid can be extracted. You can find it attached to this message.
For further information how to send an email with ASP.NET, please take a look at this article.

I hope this helps.

All the best,
Mira
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Elad Amir
Top achievements
Rank 1
answered on 27 Aug 2010, 06:58 PM
Hello Mira,

Thanks!

It seems to be going in the right direction, however, I get an error stating the LinkButtons should enclosed in a form with its runat=server attribute stated.

I do not have linked buttons in the grid, however, I still get that error.

BTW, form with runat=server exists in the design.

Best,
Elad
0
Mira
Telerik team
answered on 30 Aug 2010, 03:07 PM
Hello Elad,

I tested the sample application again and I am not able to replicate the described issue on my side.
Please open a formal support ticket and send us a small working project, demonstrating your full setup and showing the unwanted behavior.
We will debug it locally and get back to you.

Thank you in advance for the cooperation.

Best wishes,
Mira
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Grid
Asked by
Elad Amir
Top achievements
Rank 1
Answers by
Mira
Telerik team
Elad Amir
Top achievements
Rank 1
Share this question
or