I have 3 textbox in an update panel and these textboxes have autopostback with textchanged function. After i finish typing first textbox i want to focus second textbox but after postback action in update panel cursor become invisible. so i cannot write second
textbox without using mouse to select second texbox.
I believe th ereason is that the __doPostBack function is overloaded by Atlas and it prevents the default action of the TextChanged event which probably is to move to the next cotrol. One way to solve this problem is to handle the text changes events yourself
and manually call __doPostBack and in your event handler make sure that you don't cancel the default action(set window.event.returnValue = true).
Thanks for your help Rama but in textchanged event i have to do lots of things (database connection, search id , load some values etc.).It's not possible make these actions using javascript.
Do you have different ideas for this problem? Thanks...
SfsEggHead
Member
10 Points
2 Posts
Update Panel Problem
Mar 24, 2006 07:57 AM|LINK
Hi,
I have a problem using Update Panel.
I have 3 textbox in an update panel and these textboxes have autopostback with textchanged function. After i finish typing first textbox i want to focus second textbox but after postback action in update panel cursor become invisible. so i cannot write second textbox without using mouse to select second texbox.
Can anybody help me?
SOFTWARE DEVELOPER
Rama Krishna
Participant
1277 Points
307 Posts
Re: Update Panel Problem
Mar 24, 2006 10:59 AM|LINK
SfsEggHead
Member
10 Points
2 Posts
Re: Update Panel Problem
Mar 24, 2006 02:08 PM|LINK
Thanks for your help Rama but in textchanged event i have to do lots of things (database connection, search id , load some values etc.).It's not possible make these actions using javascript.
Do you have different ideas for this problem? Thanks...
SOFTWARE DEVELOPER