Button On Click event not firing
<p>the on click event works in other pages though.</p>

<p>here's the header of the page i'm trying to get it to work:</p>

<pre><code>&lt;%@ Page Title="Report" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Report.aspx.cs" Inherits="Report" %&gt;

    &lt;%@ PreviousPageType VirtualPath="~/Default.aspx"&gt;
</code></pre>

<p>and the code behind:</p>

<pre><code>protected void Page_Load(object sender, EventArgs e)
    {
        if (PreviousPage == null)
        {
            Response.Redirect("~/Default.aspx");
        }
            // code..
</code></pre>

<p>when i click on it, it just redirects me to the PreviousPage. it also doesn't stop even when it has a breakpoint inside.</p>

<pre><code>protected void export_Click(object sender, EventArgs e)
    {
           //code
    }
</code></pre>
