Client - Server Button request
<p>Sorry. This may be very simple for you...</p>

<p>I have a Button in my Web Form. In the Browser, I opened the Fire Bug and saw the following HTML corresponding to the Button</p>

<pre><code>&lt;input type="submit" id="btn" value="Upload" name="btn"&gt;
</code></pre>

<p>Following is my Button HTML at server side...</p>

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

<p>So When the user hits the button, which is right now at the client side, invokes the Server side handler of the button.</p>

<p>My Question is how is this mapping being done internally, I meant, user is hitting the button at client side and this is executing the code at server side? Because button is no more available at server. Page is downloaded and now it is at Client side. right?</p>

<p>In windows Form application, this is very simple to understand this concept as the Button Event and handler are both lying in the same file and there is no Client-Server concept.</p>
