Unplanned
Last Updated: 25 May 2023 10:09 by ADMIN
Build-dude
Created on: 25 May 2023 09:49
Category: GridView
Type: Bug Report
0
RadGridView: Print settings are not applied if you click directly the Print button instead of PrintPerview in the PrintSettingsDialog

To reproduce:

        public RadForm1()
        {
            InitializeComponent();

            this.radGridView1.Columns.Add("Telerik");
            this.radGridView1.AutoSizeColumnsMode = GridViewAutoSizeColumnsMode.Fill;
            for (int i = 0; i < 10; i++)
            {
                this.radGridView1.Rows.Add(Guid.NewGuid().ToString());
            }
        }

        private void radButton1_Click(object sender, EventArgs e)
        {
            RadPrintDocument document = new RadPrintDocument();
            document.DefaultPageSettings.Landscape = false;  
            this.radGridView1.PrintPreview(document);
        }

Step 1: Open Print Settings dialog:

Step 2: Change the Orientation to Landscape:

Step 3: Click directly the Print button here. Once the default Print dialog is opened choose Preferences:

Step 4: You will notice that the Orientation is still Portrait instead of Landscape:

1 comment
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 25 May 2023 10:09

Hi,

Thank you for bringing this behavior to our attention. We will do our best to improve the end-user experience.

Currently, the possible solution is to Click the Preview button first to apply the changes:

Then, click the Print button from the main dialog:

The changes will be applied:

 

Regards,
Dess | Tech Support Engineer, Principal
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.