By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,661 Members | 779 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,661 IT Pros & Developers. It's quick & easy.

Passing Aspx hidden form data to Asp page ?

P: n/a

I have a need to pass hidden form data on a Aspx form
to a plain vanilla Asp page.. with it remaining hidden, and
not using session/state cludges.. Thanks for any info.

Bob
Nov 19 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Here are some tips for posting to another page:

1) Output an old fashioned non-server form to the client (without the runat=
'server' attribute) Set the action attribute like you would have in
ASP.OLD, and use javascript to submit the form.
2) use client side script to change your ASP.NET form action attribute
3) use this webform control: http://www.wilsondotnet.com/Controls/
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Bob [BVP]" <bb*@pmount.com> wrote in message
news:O8**************@TK2MSFTNGP10.phx.gbl...

I have a need to pass hidden form data on a Aspx form
to a plain vanilla Asp page.. with it remaining hidden, and
not using session/state cludges.. Thanks for any info.

Bob

Nov 19 '05 #2

P: n/a
More info, I am using the formsauthentication, and setting
the hidden form value there.. so I guess I need it to run
at server.. that kills 1) & 2) ?.. I will look at the webform
control.. but it looking like I might have to use the Billy
Yuen @ MS method.. sigh..

"Steve C. Orr [MVP, MCSD]" <St***@Orr.net> wrote in message
news:Om**************@TK2MSFTNGP14.phx.gbl...
Here are some tips for posting to another page:

1) Output an old fashioned non-server form to the client (without the runat=
'server' attribute) Set the action attribute like you would have in
ASP.OLD, and use javascript to submit the form.
2) use client side script to change your ASP.NET form action attribute
3) use this webform control: http://www.wilsondotnet.com/Controls/
--
I hope this helps,
Steve C. Orr, MCSD, MVP
http://SteveOrr.net
"Bob [BVP]" <bb*@pmount.com> wrote in message
news:O8**************@TK2MSFTNGP10.phx.gbl...

I have a need to pass hidden form data on a Aspx form
to a plain vanilla Asp page.. with it remaining hidden, and
not using session/state cludges.. Thanks for any info.

Bob


Nov 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.