Convert RadGridView to Table

2 posts, 0 answers
  1. Prashant
    Prashant avatar
    2 posts
    Member since:
    Nov 2013

    Posted 13 Jun 2014 Link to this post


    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 ( 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.


  2. Dimitrina
    Dimitrina avatar
    3769 posts

    Posted 17 Jun 2014 Link to this post

    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.

    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.
  3. DevCraft banner
Back to Top