GridView Template Column hiddenfield value is always 0 while visibility false
<p>I have GridView with Template Column.Inside the template column i have asp:hiddenfield. I am binding the value using Eval() method.When i am trying to access the value of hiddenfi not accesible while visibility false
<strong>ASPX</strong></p>

<pre><code>   &lt;asp:TemplateField HeaderText="Select" Visible="false"&gt;
       &lt;ItemTemplate&gt;
           &lt;asp:HiddenField ID="hdnMasterId" runat="server" 
              Value='&lt;%# DataBinder.Eval(Container.DataItem, "Master_Id") %&gt;' /&gt;
           &lt;asp:CheckBox ID="chkDelete" runat="server" /&gt;
       &lt;/ItemTemplate&gt;
       &lt;ItemStyle Width="4%" HorizontalAlign="Center"&gt;&lt;/ItemStyle&gt;
            &lt;HeaderStyle HorizontalAlign="Center" /&gt;
   &lt;/asp:TemplateField&gt;
</code></pre>

<p><strong>CODE BEHIND</strong></p>

<pre><code>protected void gdvList_RowCommand(object sender, GridViewCommandEventArgs e)
{
    int intIndex = Convert.ToInt32(e.CommandArgument);
    GridViewRow row = gdvList.Rows[intIndex];
    HiddenField hdn = (HiddenField)row.FindControl("hdnMasterId");
}
</code></pre>
