ASP.Net C# gridview
<p>I have a gridview with a linkbutton inside a <code>&lt;HeaderTemplate&gt;</code>. There is an event handler for a click on this button. Now if I bind data to the gridview on every <code>Page_Load</code> event, then this event fires. But if I bind data to the gridview inside <code>if (Page.IsPostBack == false)</code>, then this event doesn't fire.</p>

<p>Is it that after the pageload it realizes there is no data in the gridview hence ignore events generated from the grid? </p>

<p>How do I slove the problem ?</p>
