RadGridView Print and Print Preview

38 posts, 1 answers
  1. Venkatesh
    Venkatesh 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. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    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
     
    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. Venkatesh
    Venkatesh 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. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    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
     
    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.
     
  5. Omar
    Omar avatar
    16 posts
    Member since:
    Jul 2013

    Posted 05 May 2014 Link to this post

    how can I print a grid with columns CellTemplate?
  6. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    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
     
    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.
     
  7. Stas
    Stas avatar
    5 posts
    Member since:
    Apr 2014

    Posted 04 Nov 2015 in reply to Womack 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. Stefan X1
    Admin
    Stefan X1 avatar
    523 posts

    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