Re: hidden fields?



Yes, ASP.NET controls needs to be within the FORM tag, try taking them
outside and see what error message you get !

--
( OHM ) - One Handed Man
AKA Terry Burns - http://TrainingOn.net


"HockeyFan" <HockeyFan@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7017D226-531D-418F-8A49-262D5DA20A1C@xxxxxxxxxxxxxxxx
I know that <input type="hidden" fields are used within a form, but do
<ASP:HiddenField s have to be in a form to be used?
I've got a VB-based (codebehind) that catches the click event of a button
on
the page, does some processing, populates the <ASP: hidden fields, and
then I
need to redirect to another page, where I want access to these fields.
I suspect that these have to be inside a form, but figured I should ask.

I'd use a Cache or cookies, but this is sensitive information (not
sensitive
from the user, but sensitive otherwise) and I'm not
sure that cookies will be available in all cases. I figure I can use
HiddenFields unless there's a better way


.