Behavior of the onchange event in msdn documentation :
http://msdn.microsoft.com/workshop/author/dhtml/reference/events/onchange.asp
"This event is fired when the contents are committed and not while the value
is changing. For example, on a text box, this event is not fired while the
user is typing, but rather when the user commits the change by leaving the
text box that has focus. In addition, this event is executed before the code
specified by onblur when the control is also losing the focus."
Note the last line where its said that the event fires "when the control
loses focus". This is exactly what is happening, when the text is changed
and you hit the submit button, the textbox loses focus causing it to
postback, and your submit button never gets to issue a postback =P
By the way, do you really need autopostback set to true ? The textchanged
event of the textbox will fire without needing to set an autopostback
trigger, specially since you already have a submit button you might not need
this.
Regards,
Alessandro Zifiglio
http://www.AsyncUI.net
"Edward Diener" <eddielee_n...@tropicsoft.com> ha scritto nel
messaggio news:eZ%233TS6p...@TK2MSFTNGP04.phx.gbl...