troubleshooting Question

Automatically move to next textbox

Avatar of us1975mc
us1975mcFlag for United States of America asked on
ASP.NETVisual Basic.NET
15 Comments1 Solution392 ViewsLast Modified:
Hi Experts,

I have 7 textboxes in asp.net (VB).  The purpose is to allow one letter be placed in each box and then move to the next box automatically.  I have tried to use the textbox_TextChanged event but cannot get it to work.  

My code is shown below and I can not get it to fire.

Any Ideas?

Protected Sub Let1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles Let1.TextChanged
        If Len(Let1.Text) = 1 Then
            Let2.Focus()
        End If
    End Sub
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 15 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 15 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros