Current filter:
                                You should refresh the page.
                                Support Center
                                  • Hello.
                                    I want to print my GridControl as table. There are 2 methods:
                                    - Print (immediately prints grid by default printer)
                                    - ShowPrintPreview (shows preview dialog like XtraReport). When I press Print button in this preview, print dialog appears (choose printer, print quality, copies number etc).
                                    Is there a way to call this print dialog for GridControl without showing preview dialog?

                                    All I want is call gridControl.Print(), choose printer and press Print.


                                Hi Alexander,

                                To solve this problem you need to add a reference for the DevExpress.XtraPrinting assembly, and call the following code:

                                PrintingSystem ps = new PrintingSystem(); PrintableComponentLink link = new PrintableComponentLink(ps); link.Component = gridControl; link.CreateDocument(); link.PrintDlg();




                                If you need additional product information, write to us at or call us at +1 (818) 844-3383

                                FOLLOW US

                                DevExpress engineers feature-complete Presentation Controls, IDE Productivity Tools, Business Application Frameworks, and Reporting Systems for Visual Studio, along with high-performance HTML JS Mobile Frameworks for developers targeting iOS, Android and Windows Phone. Whether using WPF, ASP.NET, WinForms, HTML5 or Windows 10, DevExpress tools help you build and deliver your best in the shortest time possible.

                                Copyright © 1998-2017 Developer Express Inc.
                                All trademarks or registered trademarks are property of their respective owners