Rad grid pdf export

6 posts, 2 answers
  1. Soham
    Soham avatar
    6 posts
    Member since:
    Dec 2010

    Posted 25 Apr 2011 Link to this post

     Hello

    I am using a radgrid to display my data and then using its inbuilt property of exporting to pdf to export my data into a pdf file.

    But I don't know why the width of the first column is too much ,I tried to set it i the itemcreated event of the grid but it only affects the grid on the web page not in the pdf.

    And  I  also want to have borders between each cells in the pdf

    Can anyone help me with this.
    I would really appreciate it.

    Thanks in advance.

    Soham
     
  2. Answer
    Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 25 Apr 2011 Link to this post

    Hello Soham,

    Please examine the following link:
    RadGrid PDF export

    Regards,
    Daniel
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. Soham
    Soham avatar
    6 posts
    Member since:
    Dec 2010

    Posted 27 Apr 2011 Link to this post

    Thanks Daniel 
    I managed to set the width of the columns in the pdf.

    But I tried to set the borders around my data and headers in the pdf in the item created event,
    the effect shows on the web page but the borders don't appear in the generated pdf.

    Can you help me with this.
    And thanks again
    Soham 
  4. Answer
    Daniel
    Admin
    Daniel avatar
    4949 posts

    Posted 02 May 2011 Link to this post

    Hello Soham,

    I created a simple demo for you. Test it on your end and let me know whether it works as expected at your side.

    Regards,
    Daniel
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  5. Soham
    Soham avatar
    6 posts
    Member since:
    Dec 2010

    Posted 03 May 2011 Link to this post

    thanks for the help. :-)
  6. Siva
    Siva avatar
    1 posts
    Member since:
    Mar 2013

    Posted 15 Mar 2013 Link to this post

    Thanks daniel for your post.
Back to Top