Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
275
How to Remove Inner scroll bar of a container while printing?
posted

Hi,

I have a view which contains comboboxes, datagrid and listview. My client wants a print out of this whole screen/view and not just portions of it. My xaml consists of a dockpanel as a parent and inside it I have all other above mentioned controls. I tried passing in the stackpanel name to the contructor of EmbeddedVisualReportSection and printing it but didnt get a print of the whole screen.

Please help.

  • 54937
    Verified Answer
    Offline posted

    The EmbeddedVisualReportSection when given a generic element such as a StackPanel, will just print out a single page which consists of the display of that element. The xamDataGrid has custom support to replicate itself and support pagination when used with an EmbeddedVisualReportSection but currently there is no generic support for printing multi-page complex element trees.