Completed
Last Updated: 18 Oct 2016 10:19 by ADMIN
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 22 Aug 2016 06:48
Category: GridView
Type: Bug Report
0
FIX. RadGridView - columns are overlapped after PrintPreview when rows are auto sized and paging is enabled
To reproduce:

private void Form1_Load(object sender, EventArgs e)
{
    this.order_DetailsTableAdapter.Fill(this.nwindDataSet.Order_Details);

    this.radGridView1.DataSource = this.orderDetailsBindingSource;
    this.radGridView1.EnablePaging = true;
    this.radGridView1.AutoSizeRows = true;
}

private void radButton1_Click(object sender, EventArgs e)
{
    this.radGridView1.PrintStyle.PrintAllPages = true;
    this.radGridView1.PrintPreview();
} 

Workaround:  refresh the MasterTemplate after the PrintPreview dialog is closed: 

this.radGridView1.PrintPreview();

this.radGridView1.MasterTemplate.Refresh();
Attached Files:
0 comments