Same subject but in Visual Web Developer express

I have the same bits of code working as a web form and in VB Express but when I try to use this routine to tab to the next text box autotmaticaly on my web form, it does not work.

Am I being stupid here

Cheers DJT_UK

Protected Sub TextBox1_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged

If TextBox1.Text.Length = 1 Then

TextBox2.Focus()

End If

End Sub



Answer this question

Same subject but in Visual Web Developer express

  • Duke of URL

    hi,

    i'm not sure if you can do this or not, i think all what you can do is to set text length property to 1 because in winform you can control it from the same system but in web forms there are other computer and other program that run it, and post back event happend whtn the user hit enter or tab

    hope that helps



  • Shailaja

    I'll give it a go and let you know what happens.

    Cheers DJT


  • Same subject but in Visual Web Developer express