Setting value onClientClick() and Getting that on onClick()
<p>i have a asp:button and a asp:hiddenfield like this..</p>

<pre><code>&lt;asp:Button ID="btn_CreateContent" runat="server" Text="Upload" Height="25px" 
OnClientClick="UploadNewContent(event)" OnClick="btn_CreateContent_Click" /&gt;
&lt;asp:HiddenField runat="server" ID="hdn_ContentID"&gt;&lt;/asp:HiddenField&gt;
</code></pre>

<p>I am setting value of "hdn_ContentID" onClientClick() with jQuery..</p>

<pre><code>$('#ctl00_GspaceOnlinePlaceHolder_hdn_ContentID').val(SomeID);
</code></pre>

<p>and then i am trying to get that value onClick() on server side</p>

<pre><code>protected void btn_CreateContent_Click(object sender, EventArgs e)
{
    string FileName = hdn_ContentID.Value;
}
</code></pre>

<p>but i am not getting that value.. i.e. getting FileName = "";</p>

<p>please help..</p>
