Hi,
My understanding of the __doPostBack function is that it will load the __EVENTTARGET.value and __EVENTARGUMENT.value with the name of the control that has initiated the "post"
This makes perfect sense to me, because this is how the server eventually knows which control's event to fire.
BUT... the __doPostBack function IS NOT CREATED if, for example, all you have on your web form are 2 command buttons....
and here's my question: If all you have on your web form are to command buttons, and there is no __doPostBack function created, how does the server know which of the 2 buttons was clicked????
Thanks for any enlightenment!
Steve
My understanding of the __doPostBack function is that it will load the __EVENTTARGET.value and __EVENTARGUMENT.value with the name of the control that has initiated the "post"
This makes perfect sense to me, because this is how the server eventually knows which control's event to fire.
BUT... the __doPostBack function IS NOT CREATED if, for example, all you have on your web form are 2 command buttons....
and here's my question: If all you have on your web form are to command buttons, and there is no __doPostBack function created, how does the server know which of the 2 buttons was clicked????
Thanks for any enlightenment!
Steve