RadGridView Print and Print Preview

Thread is closed for posting
38 posts, 1 answers
  1. FE342AF2-B052-4958-B08A-7E7D81226125
    FE342AF2-B052-4958-B08A-7E7D81226125 avatar
    4 posts
    Member since:
    Sep 2013

    Posted 29 Apr 2014 Link to this post

    Hi Vlad,

    Can you please help me,i am working on print and print preview part but when i click on print preview then half of the data is display on one page and  rest of the part is display on second page.can you please guide me what should i do.
  2. 03C6DCCC-BDEA-48C2-8B34-F4A2A58C63A8
    03C6DCCC-BDEA-48C2-8B34-F4A2A58C63A8 avatar
    3769 posts
    Member since:
    Aug 2017

    Posted 29 Apr 2014 Link to this post

    Hello,

    May I ask you to attach screenshots on what you see when clicking the Print Preview? Have you used the same code as suggested in this code library?

    Regards,
    Didie
    Telerik
     
    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 Feedback Portal and vote to affect the priority of the items
     
  3. FE342AF2-B052-4958-B08A-7E7D81226125
    FE342AF2-B052-4958-B08A-7E7D81226125 avatar
    4 posts
    Member since:
    Sep 2013

    Posted 30 Apr 2014 Link to this post

    Thanks for your quick reply.which code i refer its similar to library code and  I am highlight the problem with red mark in attach file .please refer and let me know if you need any thing else.
  4. 03C6DCCC-BDEA-48C2-8B34-F4A2A58C63A8
    03C6DCCC-BDEA-48C2-8B34-F4A2A58C63A8 avatar
    3769 posts
    Member since:
    Aug 2017

    Posted 01 May 2014 Link to this post

    Hi,

    I can see now that the last row on the first page is printed half on the first page and half on the next page. I am not able to reproduce such an issue on the demo project attached in this code library though.

    As this is a code library and not a support thread, may I ask you to open a new support thread on your specific problem and provide some additional information like :
    - what version of our controls do you use? 
    - do you have a custom RowHeight set for RadGridView?
    - Can you extend the demo project available in this thread based on your custom implementation to reproduce the problem?

    Regards,
    Didie
    Telerik
     
    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 Feedback Portal and vote to affect the priority of the items
     
  5. C536F3FF-E9B2-4D87-8EDD-480B99BACA4F
    C536F3FF-E9B2-4D87-8EDD-480B99BACA4F avatar
    23 posts
    Member since:
    Jul 2013

    Posted 05 May 2014 Link to this post

    how can I print a grid with columns CellTemplate?
  6. 03C6DCCC-BDEA-48C2-8B34-F4A2A58C63A8
    03C6DCCC-BDEA-48C2-8B34-F4A2A58C63A8 avatar
    3769 posts
    Member since:
    Aug 2017

    Posted 05 May 2014 Link to this post

    Hi,

    Currently it is not possible to get the CellTemplate exported because there is not a reference of the GridViewCell that is being exported. What you can do it to build the value (e.Value) manually having the entire business object. Basically you need to subscribe for the ElementExporting event and replace the e.Value with the correct value to be exported. 
    Is this an option for you?

    Regards,
    Didie
    Telerik
     
    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 Feedback Portal and vote to affect the priority of the items
     
  7. 552AF620-79E9-47ED-8D66-2BBEAAB1BEBB
    552AF620-79E9-47ED-8D66-2BBEAAB1BEBB avatar
    5 posts
    Member since:
    Apr 2014

    Posted 04 Nov 2015 in reply to 5535DCDC-D9C0-44AF-9532-895E04B4177D Link to this post

    Hi, we are using the WPF Grid view in our xbap application. I have several questions about this projects:

    1. Column width does ​not account for total width of the header. As a result header text is not always readable

    2. In print preview mode and print some columns wrapping across pages.Print preview should fit column on same page.

    3. Print of the grid with about 80 columns and around 200 rows is extrimly slow

     

    Can you please help?

    Thank you

    Stas

  8. 866B32CE-4700-4E7B-88AF-A5920AFD749C
    866B32CE-4700-4E7B-88AF-A5920AFD749C avatar
    1073 posts
    Member since:
    Jan 2019

    Posted 09 Nov 2015 Link to this post

    Hello Stas,

    Without knowing the exact project setup, I might be only guessing what the reason for such behavior might be. Can you please take a look at the Print and Export with RadDocument WPF Demo, or its Silverlight equivalent, as the recommended approach for Printing RadGridView is demonstrated in it.

    I hope it helps.

    Regards,
    Stefan
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
Back to Top

This Code Library is part of the product documentation and subject to the respective product license agreement.