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

Convert RadGridView to Table

1 Answer 14 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Prashant
Top achievements
Rank 1
Prashant asked on 13 Jun 2014, 09:25 PM
Hi,

I have been trying to convert a RadGridView to a Table in order to include it in a section and make it part of my RadDocument.

I have not been able to find any help in the documentation or examples to do this. I did come across some helpful links but each of these had an issue:

1. This one says that "This help topic will demonstrate how to export RadChart and RadGridView controls to PDF document simultaneously. " so i read through but when it gets to the part what would explain how to export the RadGridView it says the following:

 "As for the grid part of the constructed document – all you need to do is create a second Section element and construct Table with the respective TableRow / TableCell elements. We will not go into details as you may find them as well as the source listing in this online example and this blog post here."

Well the example did not work because it shows how to export a RadGridView  DIRECTLY to a pdf (http://demos.telerik.com/silverlight/#GridView/PrintAndExportWithRadDocument) this is not what i am looking for and the blog post link was dead.

I am constructing a large RadDocument with Many images, many tables, text headers and footers and I need my RadGridView to go in the middle of all this not to export it by itself to pdf.

So it would really help me if you could post some code that converts a RadGridView to a Table so that I can put this in a section and include it in my large RadDocument.

Thank you for your help in advance.

Regards,
Prashant.

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 17 Jun 2014, 01:03 PM
Hi Prashant,

I attached a document explaining more details and guidelines on how to create a document (Section, Tables, Paragraphs and Spans) representing the RadGridView to be printed.

Regards,
Didie
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GridView
Asked by
Prashant
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or