ASP.Net PostBack & Button Internal
<p>i worked for long time with windows apps using .net. for last 2 year i am working with asp.net. we often work with asp.net button control. when we click on button then postback occur and right server side event called by asp.net engine. i how link &amp; image button causes postback when user click on those button.</p>

<p>when we work with link &amp; image button then __doPostback js function is called and that causes form submit to server and request the same page and asp.net engine detect which control causes the postback from the hidden input control called eventTarget and invoke right event handler for that control.</p>

<p>but i dont know when we work with asp.net button control like</p>

<pre><code>&lt;asp:Button ID="SampleButton" runat="server" 
        Text="Submit" 
        OnClick="ButtonClick" /&gt;
</code></pre>

<p>when we click button then also form submit but how. i know that in this case <code>__doPostback</code> does not invoke because for button <code>__doPostback</code> is never rendered in the page. so in this case form submit but how asp.net engine detect which button causes postback and invoke right event handler?</p>

<p>how we get the data from textbox like txt1.text when postback occur. is it extracted from viewstate....am i right.</p>

<p>please answer for my 2 question. try to explain here instead of giving any url...thanks.</p>
