This is a migrated thread and some comments may be shown as answers.

Gridview Rows mixed up when scrolling down

2 Answers 24 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 08 Feb 2011, 05:21 PM
I am using Q3 2010 Telerik Winforms.

My RadGridViews worked fine before the latest upgrade, but since I implemented Q3 2010 my Gridview Rows get mixed up when scrolling initially (As per image attached).
Any Idea?

'DGLumpsumHours
        '
        Me.DGLumpsumHours.AutoSizeRows = True
        Me.DGLumpsumHours.BackColor = System.Drawing.Color.White
        Me.DGLumpsumHours.Cursor = System.Windows.Forms.Cursors.Default
        Me.DGLumpsumHours.Dock = System.Windows.Forms.DockStyle.Fill
        Me.DGLumpsumHours.Font = New System.Drawing.Font("Microsoft Sans Serif", 8.25!)
        Me.DGLumpsumHours.ForeColor = System.Drawing.SystemColors.ControlText
        Me.DGLumpsumHours.HideSelection = True
        Me.DGLumpsumHours.ImeMode = System.Windows.Forms.ImeMode.NoControl
        Me.DGLumpsumHours.Location = New System.Drawing.Point(10, 20)
        '
        'DGLumpsumHours
        '
        Me.DGLumpsumHours.MasterTemplate.AllowAddNewRow = False
        Me.DGLumpsumHours.MasterTemplate.AllowDeleteRow = False
        Me.DGLumpsumHours.MasterTemplate.AllowEditRow = False
        Me.DGLumpsumHours.MasterTemplate.AutoSizeColumnsMode = Telerik.WinControls.UI.GridViewAutoSizeColumnsMode.Fill
        Me.DGLumpsumHours.MasterTemplate.EnableGrouping = False
        Me.DGLumpsumHours.MasterTemplate.ShowRowHeaderColumn = False
        Me.DGLumpsumHours.Name = "DGLumpsumHours"
        Me.DGLumpsumHours.ReadOnly = True
        Me.DGLumpsumHours.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.DGLumpsumHours.ShowGroupPanel = False
        Me.DGLumpsumHours.Size = New System.Drawing.Size(261, 223)
        Me.DGLumpsumHours.TabIndex = 2
        Me.DGLumpsumHours.Text = "radGridViewPreview"
        Me.DGLumpsumHours.ThemeName = "Office2007Silver"
        CType(Me.DGLumpsumHours.GetChildAt(0), Telerik.WinControls.UI.RadGridViewElement).Text = "No data to display"
        CType(Me.DGLumpsumHours.GetChildAt(0), Telerik.WinControls.UI.RadGridViewElement).Padding = New System.Windows.Forms.Padding(0)
        '


it is loaded from a SQLDataReader

DGLumpsumHours.LoadFrom(drRecordDetail)

2 Answers, 1 is accepted

Sort by
0
Richard Slade
Top achievements
Rank 2
answered on 08 Feb 2011, 10:48 PM
Hello,

From the information that you have given, I believe that this may be an AutoSzeRows = true issue. I would also advise upgrading to the latest Server Pack (2010 Q3 SP1) as there were a few fixes to AutoSize rows in that release.  (see release notes)

I hope that helps but do let me know if you need more information
Thanks
Richard
0
Accepted
Alexander
Telerik team
answered on 09 Feb 2011, 09:05 AM
Hello Peter,

Thank you for your question.

We have experienced this issue in the Q3 2010 SP1 release of RadGridView. It is addressed in the latest internal build of the WinForms controls. You can download it from Your Account >> Download and Manage your products >> Products Downloads >> RadControls for WinForms >> Latest Internal Builds.

Please let me know if your project works as expected with this release.

Best regards,
Alexander
the Telerik team
Q3’10 SP1 of RadControls for WinForms is available for download; also available is the Q1'11 Roadmap for Telerik Windows Forms controls.
Tags
GridView
Asked by
Rob
Top achievements
Rank 1
Answers by
Richard Slade
Top achievements
Rank 2
Alexander
Telerik team
Share this question
or