I have an aspx page that has text boxes. On one of my text boxes I have a changedText event.
After the changed text event the cursur goes to an undesirable location.
I tried to do a me.txtph.focus() but that did not work.
What I am looking to do is either go to me.txtph or put the cursur when they hit tab to the next tab order or when they click on a different field, keep the cursur there.
Any ideas would be helpful.
I have attached my changed text event code.
Protected Sub txtstate_TextChanged(ByVal sender As Object, ByVal e As System.EventArgs)
If Me.txtstate.Text = "AE" Or Me.txtstate.Text = "AA" Or Me.txtstate.Text = "AP" Then
If TxtdelDoc.Text <> "" And TxtFromCountry.Text <> "" And txtcountry.Text <> "" Then
btnInternational.Enabled = True
btnInternational.Enabled = False
Catch ex As Exception