Thanks for Brock's inputs.
Hi Walesboy,
In addition to what Brock has mentioned, I think you can also have a look
at the different events in asp.net's webform control model:
#Processing Postback Data
http://msdn.microsoft.com/library/en...ivingpostbackd
atachangednotifications.asp?frame=true
#Capturing Postback Events
http://msdn.microsoft.com/library/en...ivingpostbacke
ventnotifications.asp?frame=true
What makes the page be submited to serverside is the "PostBack" and
eachtime , there is only one postback event( of a certain postbackable
control) can be fired. Those submit buttons or ImageButtons by default
will cause postback. However, TextBox by default won't cause the page
postback (but it's TextChange event still have effect if the page is
submited by other postback event as long as the its Text is changed).
When TextBox enable AutoPostBack, any textchange at clientside will cause
the page be posted back, but since it is TextBox that cause the postback,
Button's postback event won't be fired.
#Note: TextBox's Change event is not a postback event, it is a data changed
event which are different from each other. You can refer to the above MSDN
reference.
If there is anything unclear, please feel free to post here. Thanks,
Steven Cheng
Microsoft Online Support
Get Secure!
www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)