CS1061: Compilation Error Message
<p>i have added a linkbutton to my page and get error when debugging says:
CS1061: 'ASP.uilayer_test_aspx' does not contain a definition for 'lbl_Click' and no extension method 'lbl_Click' accepting a first argument of type 'ASP.uilayer_test_aspx' could be found (are you missing a using directive or an assembly reference?)</p>

<p>.aspx contains : </p>

<pre><code>&lt;asp:LinkButton ID="lbl" runat="server" OnClick="lbl_Click"&gt;LinkButton&lt;/asp:LinkButton&gt;
</code></pre>

<p>page diretive : </p>

<pre><code>&lt;%@ Page Language="C#" MasterPageFile="~/UILayer/UI.Master" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherits="WebApp.UILayer.Test" Title="Untitled Page" %&gt;
</code></pre>

<p>.cs contains :</p>

<pre><code>namespace WebApp.UILayer
{
    public partial class Test : System.Web.UI.Page
    {
     private void lbl_Click(object sender, EventArgs e)
     {
     } 
    }
}
</code></pre>
