Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: submitting a form to a different aspx file


Message #1 by Dmitri Kalmar <dkalmar@n...> on Mon, 7 Jan 2002 16:25:23 -0500
my form uses runat=server (cuz i'm a good boy and i'm using server controls)



this means i have no say in the "target" attribute, right? i cannot specify

it programmatically? 



when the user clicks a certain button, i want to essentially forward the

entire HTTPRequest.Form collection to a different aspx file. 



so i can't use redirect becuase i would lose my collection; and i'm not

allowed to change the target atribute of the form...



any suggestions?? 



TIA!



-d

Message #2 by "dmitri kalmar" <dmitrikal@y...> on Mon, 7 Jan 2002 21:42:50
when i said "target" i meant to say "action"!



-d





> my form uses runat=server (cuz i'm a good boy and i'm using server 

controls)

> 

> this means i have no say in the "target" attribute, right? i cannot 

specify

> it programmatically? 

> 

> when the user clicks a certain button, i want to essentially forward the

> entire HTTPRequest.Form collection to a different aspx file. 

> 

> so i can't use redirect becuase i would lose my collection; and i'm not

> allowed to change the target atribute of the form...

> 

> any suggestions?? 

> 

> TIA!

> 

> -d

Message #3 by "dmitri kalmar" <dmitrikal@y...> on Mon, 7 Jan 2002 22:28:31
nevermind! solved it. 



-d







> when i said "target" i meant to say "action"!

> 

> -d

> 

> 

> > my form uses runat=server (cuz i'm a good boy and i'm using server 

> controls)

> > 

> > this means i have no say in the "target" attribute, right? i cannot 

> specify

> > it programmatically? 

> > 

> > when the user clicks a certain button, i want to essentially forward 

the

> > entire HTTPRequest.Form collection to a different aspx file. 

> > 

> > so i can't use redirect becuase i would lose my collection; and i'm not

> > allowed to change the target atribute of the form...

> > 

> > any suggestions?? 

> > 

> > TIA!

> > 

> > -d

Message #4 by "Carl E. Olsen" <carl-olsen@h...> on Mon, 7 Jan 2002 17:21:22 -0600
Omit the runat=server.  The runat=server tells the page to send the form

collection back to itself.



> -----Original Message-----

> From: dmitri kalmar [mailto:dmitrikal@y...]

> Sent: Monday, January 07, 2002 10:29 PM

> To: ASP+

> Subject: [aspx] Re: submitting a form to a different aspx file

> 

> nevermind! solved it.

> 

> -d

> 

> 

> 

> > when i said "target" i meant to say "action"!

> >

> > -d

> >

> >

> > > my form uses runat=server (cuz i'm a good boy and i'm using server

> > controls)

> > >

> > > this means i have no say in the "target" attribute, right? i

cannot

> > specify

> > > it programmatically?

> > >

> > > when the user clicks a certain button, i want to essentially

forward

> the

> > > entire HTTPRequest.Form collection to a different aspx file.

> > >

> > > so i can't use redirect becuase i would lose my collection; and

i'm

> not

> > > allowed to change the target atribute of the form...

> > >

> > > any suggestions??

> > >

> > > TIA!

> > >

> > > -d

> 









  Return to Index