title: __EVENTTARGET is empty on postback of button click
body: <p>I have a button on aspx page </p>
  
  <pre><code>&lt;asp:Button runat="server" CssClass="sc-ButtonHeightWidth" ID="btnFirstSave" Text="Save" OnClick="btnSave_Click" /&gt;
  </code></pre>
  
  <p>I am trying to get the event target and event source in code behind to do some validation based on it. I tried with below code.</p>
  
  <pre><code>string ctrlname = page.Request.Params.Get("__EVENTTARGET");
  string ctrlname = Request.Form["__EVENTTARGET"];
  string ctrlname = Request.Params["__EVENTTARGET"];
  </code></pre>
  
  <p>But all the above are giving me empty values. How to get the control which caused postback everytime. Am i doing anyting wrong above? </p>
  
  <p>FYI : I already tried the solution mentioned in this <a href="https://stackoverflow.com/questions/5704500/eventtarget-problem-determing-sender">LINK</a>. But its only returning button text for me. I want the buttonID.</p>