|
-
May 6th, 2004, 04:29 AM
#1
Thread Starter
Frenzied Member
Request.form
I have a page which is redirected from an page which includes the label named lblTest. How can I reach this on the current page using request.form (like asp 3.0)? I don't want to use the response.querystring because I have a lot of parameters which should be passed
-
May 6th, 2004, 08:37 AM
#2
Frenzied Member
Server.Transfer I belive is correct. It's Server or Response. it moves all the gunk from one page into your next page and you mega gunk if you keep doing it. Look it up in MSDN/msdn.microsoft.com for complete info.
Magiaus
If I helped give me some points.
-
May 6th, 2004, 08:57 AM
#3
Thread Starter
Frenzied Member
Well now I've used Server.Transfer("print.aspx", True)
But at the page Print.aspx, how do I actually get the information from a textbox named textbox1 on the webform where Server.Transfer is sent from?
I have tried
Request.form("textbox1.text") but it doesn't work.
-
May 6th, 2004, 09:05 AM
#4
Frenzied Member
Request("TextBoxt1")
and um I don't know that it works with server controls. It does work with html <input> tag controls though. Like I said check out MSDN I've never used it. I always had a lower version of asp until now.
Here is an idea though. Throw your info into the session, Redirect, and when your done clear out the session by setting whatever Session["var"] = null/Nothing.
Magiaus
If I helped give me some points.
-
May 6th, 2004, 09:12 AM
#5
Thread Starter
Frenzied Member
Uups, sorry I wrote
Request.Form("textbox1.text")
I meant of course
Request.Form("textbox1")
But it still doesn't work and I have set the preserve to True in the server.transfer
-
May 6th, 2004, 09:24 AM
#6
Thread Starter
Frenzied Member
Now I've found this article http://www.dotnetbips.com/displayarticle.aspx?id=183
and I've implemented the EnableViewStateMac="False" in the Print.aspx, but still its not working
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|