ASP.Net VB: View HiddenField value
Posted on 2007-11-27
I would like to view the value of a hidden field to make sure it is getting a value. This is the code I have in the code-behind page:
hdnPaidThruDateA.Value = CDate(result).ToString("MM/yyyy")
This is the code in the .aspx page:
<asp:HiddenField ID="hdnPaidThruDateA" Value="hdnPaidThruDateA" Visible="true" runat="server" />
I have Visible="true" which I am assuming that if the value is in the .aspx hidden value field, I should be able to see it. When the page is rendered I don't see the value. If I'm doing this incorrectly how can I see the value?