Completed
Last Updated: 20 Oct 2014 14:27 by ADMIN
ADMIN
Dess | Tech Support Engineer, Sr.
Created on: 05 Sep 2014 07:47
Category: GridView
Type: Bug Report
0
FIX. RadGridView - Cursor is set to default when the mouse enters control's boundaries
To reproduce: 
Add a RadGridView and set the Form.UseWaitCursor property to true. When the cursor is positioned inside the RadGridView the cursor is set back to default.

Workaround:
public RadForm1()
{
    InitializeComponent();

    radGridView1.GridBehavior = new CustomRowBehavior(); 
}

public class CustomRowBehavior : BaseGridBehavior
{
    public override bool OnMouseMove(MouseEventArgs e)
    {
        Cursor cursor = this.GridControl.Cursor;
        bool result = base.OnMouseMove(e);
        this.GridControl.Cursor = cursor;
        return result;
    }
}
(Total attached files size should be smaller than 20mb. Allowed extensions: .zip, .rar, .jpg, .png, .gif)
0 comments