T
tshad
I have a couple of HiddenField controls on my page:
<asp:HiddenField ID="MaxDropDate" runat="server" />
<asp:HiddenField ID="MinDropDate" runat="server" />
But when I try to access them:
maxDropDate = MaxDropDate.Value;
minDropDate = MinDropDate.Value;
I get an error:
The name 'MaxDropDate' doesnt' exist in the current context.
Why is that?
They are there.
Thanks,
Tom
<asp:HiddenField ID="MaxDropDate" runat="server" />
<asp:HiddenField ID="MinDropDate" runat="server" />
But when I try to access them:
maxDropDate = MaxDropDate.Value;
minDropDate = MinDropDate.Value;
I get an error:
The name 'MaxDropDate' doesnt' exist in the current context.
Why is that?
They are there.
Thanks,
Tom