Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 245091
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T21:03:36+00:00 2026-05-11T21:03:36+00:00

I have a huge datagrid control embedded in a window and Autoscroll property to

  • 0

I have a huge datagrid control embedded in a window and Autoscroll property to true. Control also has textboxes in addition to the grid .This grid is meant for monitors with resolution above 1600(and so scrollbar not visible at that resolution). But Autoscroll property is set to make incase user uses it in smaller monitors also.

Working is like when clicking a cell for e.g cursor is set in a text box which is located at far right of the grid and so not visible in small monitors. But due to the functionality i described above whenever i click a cell the grid loses focus and scrollbar moves to the right side of the grid.

I don’t want the scrollbar to move to focus on the textboxes. Help needed.Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T21:03:36+00:00Added an answer on May 11, 2026 at 9:03 pm

    “Just in case someone stumbles across this post searching for a way to disable the AutoScroll behavior of scrolling to the focused control, the cleanest solution is provided in .NET 2.0: There is an overrideable ScrollToControl method in the ScrollableControl now. Replace the call to the base class implementation to return DisplayRectangle.Location and problem solved”

    — A gem in comments section of this great blog post : http://seewinapp.blogspot.com/2005/09/is-your-autoscroll-too-auto.html

    The blog post and the comment answered the need

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I don't know whether this question makes sense or not. I have huge amount
I have a huge ASPX web form which has around 100 fields which need
I have huge query on my SQL 2005 Server. This have to be run
Good day... I have huge trouble with this and it drives me insane. My
I have some functions that have huge inputs (some of them has 28 etc),
I have a datagrid contained in a vbox, this datagrid acts as a spreadsheet
Just want to make sure I am understanding this right. If I have huge
I have huge file (17 million lines) that contains content in this format: AB101XG,57.144165160000000|,-2.114847768000000|;
I have huge dataframe like this: SN = c(1:100, 1:100, 1:100, 1:100) class =
I have huge 3D arrays of numbers in my .NET application. I need to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.