The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
What I am finding is that if the next tab order after attempting to tab out of a grid is a textbox (in this case) in a container object (in this case a groupbox), the next control focus is set to is the next object not in any container. In other words, it appears the next tab order is a control not in a container.
If there is no solution, can I harness a tab event from a grid's rightmost column to force fucus to a specific textbox or like control?
I am not coding C#. Is this done in the grid's keypress event? Could you translate.
Thanks much!
ADAdministrator Syncfusion Team March 6, 2007 10:21 PM UTC
Hi Tom,
You can manage this issue by handling the CurrentCellKeyDown event of the grid and set the focus to another control. Here is a code snippet
Private Sub GridControl1_CurrentCellKeyDown(ByVal sender As Object, ByVal e As KeyEventArgs) Handles GridControl1.CurrentCellKeyDown If e.KeyData = Keys.Tab Then Me.GroupBox1.Focus() e.Handled = True End If End Sub