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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Datagrid LeaveProblme

Thread ID:

Created:

Platform:

Replies:

7707 Oct 7,2003 10:34 AM UTC WinForms 0
loading
Tags: FAQ
Sridhar
Asked On October 7, 2003 10:34 AM UTC

hi, I have a editable datagrid in a Windows forms. after filling fews rows i want to leave the datagrid and set focus to a text box control on the form. My code is Like this Private Sub dgItems_CurrentCellChanged(...) Handles dgItems.CurrentCellChanged If oldCurrentRow < Convert.ToInt32(txtPieces.Text) Then ' Some custom code i wrote. else txtWeight.Focus() Exit Sub end if End Sub the focus is not going there . can any one help me in this Regards and Thank You Sridhar G

CONFIRMATION

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

or the page will be automatically redirected to 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

;