Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
Is there a way to access the forms collection from webpage1 when inside webpage2 from the code-behind page?

Thanks,

 

Bill Yeager (MCP, BCIP)

Microsoft Certified Professional

Brainbench Certified Internet Professional, .Net Programmer, Computer Programmer

YeagerTech Consulting, Inc.

  • *Gurus*
Posted
No, since the page doesn't exist anymore (for all intents and purposes) in an object format. You'll need to pass the form collection data manually or use the Server.Transfer method to redirect the ASP.NET worker process to render "webpage2" with the query string and form collection of "webpage1". This means that "webpage1" will never be rendered, although the client will assume it was since the worker process essentially replaced the compilation of the requested page with the compilation of a page designated by the developer.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...