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 8169955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T21:00:53+00:00 2026-06-06T21:00:53+00:00

We have a simple datagrid that we are enabling navigation via a the tab

  • 0

We have a simple datagrid that we are enabling navigation via a the tab key. (we move to the next cell) In IE 7 & 8 when we hit the tab key it causes the focus to move off the grid to the next element.

In other browsers we prevent focus moving to the next element on the page by calling focus() on the div that contains our grid. In IE this does not work, the focus moves on regardless.

What can we do (without jQuery) to keep the focus on the grid so we can hit the tab key repeatedly and move through the cells in our grid?

The same issue also exists when pushing the enter key.

  • 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-06-06T21:00:55+00:00Added an answer on June 6, 2026 at 9:00 pm

    In your event handler (onkeydown, keypress etc) when you have finished handling the tab key use this code 🙂

    return false;
    

    This prevents the default behaviour from occurring and should stop the navigation from proceeding.

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

Sidebar

Related Questions

The situation is simple. I have a datagrid that gets its data from a
Trying to implement a simple print in SL4. I have a DataGrid that I
I have implemented a simple search function that highlights a row in a DataGrid
I have a simple datagrid to which I am binding a collection using ItemsSource.
I have a simple Silverlight app which simply sets a DataGrid's ItemsSource to the
I have simple win service, that executes few tasks periodically. How should I pass
I have a problem with the new DataGrid component that comes with .NET4. The
When I have a simple DataSet that has a table with simple column names
I have developed a simple DB-editing app using Xceed's excellent DataGrid for WPF (UX
I have a problem with enum description. I want that the dataGrid show me

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.