Need help with error- The name 'lnk1' does not exist in the current context
<p>This is my link button:-</p>

<pre><code>&lt;asp:LinkButton ID="lnk1" Text="Set as Default" runat="server" Visible="false" OnClick="lnk1_OnClick"&gt;&lt;/asp:LinkButton&gt;
</code></pre>

<p>In Code Behind I am simply making it visible</p>

<pre><code>lnk1.Visible = true;
</code></pre>

<p>I have checked the IDs over n over..whats wrong ? Intellisense wont detect it either..I am doing something really silly..just cant figure what it is ..help!</p>

<p>I even restarted Visual Studio..still same error</p>
