How to access hidden field from usercontrol
<p>I have a hidden variable in my aspx page i.e mainpage.aspx</p>

<pre><code>&lt;asp:HiddenField runat="server" id="hdnCommonvCode" /&gt;
</code></pre>

<p>mainpage.aspx contains tabcontainer control. On each tab an usercontrol is added. If i try to access this hidden field <code>alert($find("&lt;%=hdnCommonvasCode.ClientID %&gt;"));</code> from usercontrol it shows compiler error msg</p>

<pre><code>Compiler Error Message: CS0103: The name 'hdnCommonvCode' does not exist in the current context
</code></pre>
