cursor in GridView

2 posts, 0 answers
  1. santosh
    santosh avatar
    8 posts
    Member since:
    Mar 2008

    Posted 25 Mar 2008 Link to this post

     Hi Telerik,
        
        I added Hand cursor in design for GridView.  Works fine till i adjust GridView column width.

        After adjusting column width, cursor returns to normal Arrow cursor.

       Do i need to add some thing in code or in design, so that for any Gridview operation, cursor will be my cursor only ?

    Thanks,
    Santosh Kumar

       
      
        

      
  2. Jack
    Admin
    Jack avatar
    2333 posts

    Posted 25 Mar 2008 Link to this post

    Hello santosh,

    Thank you for contacting us.

    This is a known issue and we will address it in our upcoming release Q1 2008. You can work around the issue by processing the MouseMove event.

    Refer to the code snippet below:

    this.radGridView1.MouseMove += new MouseEventHandler(radGridView1_MouseMove); 
    void radGridView1_MouseMove(object sender, MouseEventArgs e) 
        if (e.Button == MouseButtons.None) 
        { 
            this.radGridView1.Cursor = Cursors.Cross; 
        } 
     

    I hope this helps. Do not hesitate to write me if you have other questions.

    Kind regards,
    Jack
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top