We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

scroll on get focus

Thread ID:





19399 Sep 24,2004 04:11 PM UTC Sep 24,2004 09:32 PM UTC WinForms 1
Tags: GridControl
Asked On September 24, 2004 04:11 PM UTC

In a grid control on a panel, if you tab focus to the grid, it scrolls to the bottom. This occurs before OnGotFocus is called, so I am not sure where this is originating. How can I prevent this behavior? thanks! Lynn

Administrator [Syncfusion]
Replied On September 24, 2004 09:32 PM UTC

You can try catching the grid''s Enter event and try calling grid.CurrentCell.MoveTo(1,1) to see if that will avoid this problem. If not, try catching the grid''s Leave event and call the grid.CurrentCell.MoveTo(1,1) there to see if that will avoid this problem the next time the grid gets the focus.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon