Completed
Last Updated: 06 Apr 2020 16:57 by ADMIN
Release R2 2020 (LIB 2020.1.413)
Steven
Created on: 31 Mar 2020 14:37
Category: GridView
Type: Bug Report
0
RadGridView - NullReferenceException when spellchecking a cell and clicking the down scroll button

Please follow the instruction in this help article:  https://docs.telerik.com/devtools/winforms/controls/spellchecker/spellchecking-radgridview

Then, follow the steps illustrated in the attached gif file.

1 comment
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 31 Mar 2020 15:03

Hello, Steven,

The possible solution that I can suggest in order to handle this unexpected behavior is close the editor once the scrollbar is clicked. Please use the following code snippet:

            this.radGridView1.TableElement.VScrollBar.MouseDown += VScrollBar_MouseDown;


        private void VScrollBar_MouseDown(object sender, MouseEventArgs e)
        {
            if (this.radGridView1.IsInEditMode)
            {
                this.radGridView1.EndEdit();
            }
        }

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.