Posted By: qwert231 | Sep 28th @ 10:46 AM
page 1 of 1
Comments: 5 | Views: 535
qwert231
qwert231
M Kenyon

I have a section of textboxes and drop downs in an UpdatePanel.

 

textbox2 has a 'TextChanged' event that correctly updates dropdown3. I would like the cursor to then move to textbox4. So, in the same event handler for the TextChanged I put textbox4.Focus(). When the update happens, the cursor is not in any box. However, if I hit the tab key, the cursor appears in textbox1 the first input control in the update panel.

 

How can I get the cursor to correctly appear in textbox4?

jh71283
jh71283
Throw new System.Beverage. OutOfCoffeeException​()

javascript.

W3bbo
W3bbo
The Master of Baiters

Well, at least he isn't calling MsgBox() from within ASP.NET.

page 1 of 1
Comments: 5 | Views: 535
Microsoft Communities