Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

__doPostBack General Question

Status
Not open for further replies.

SSchimsky

MIS
Mar 26, 2002
16
0
0
US
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

 
Forum855 - ASP.NET or Forum796 - VB.NET would probably be better places to ask this question.

Tony
________________________________________________________________________________
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top