Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: ASP or ClientSide


Message #1 by "Peter Byers" <pb@s...> on Wed, 31 Jan 2001 16:41:45 -0000
Hi

	I have a frame that has lots of data fields on it (too much for GET it

has to be POST)





	I need to do some validation - so there is an "OnClick" pointer to a

JavaScript Function.







	I can either provoke the action with a "BUTTON" or an "A HREF" tag



	I can either cause the submit from the click action directly or by a

SUBMIT() in the function.







	BUT





	I need to put a "TARGET" in to point the output of the ASP to reply to

another frame









	HOWEVER



	IF



	I use the SUBMIT() in the function, how do I put the TARGET statement in

with the command in the function ???







	IF



	I submit from the BUTTON (or SUBMIT) TYPE, how do I put the TARGET

statement in ???





	IF



	I use the "A HREF" tag, I can put the TARGET in BUT how do I post the

data fields ???







	IN THE EVENT THAT THERE IS NO ANSWER TO THESE QUESTIONS







	Is there any way in ASP for the "Response.Redirect" or "Response.Write"

to direct that response to a Frame other than the one that activated the

ASP ???





Thank you in anticipation - I hope

Pete (Northolt UK)

Message #2 by "Alex Shiell, ITS, EC, SE" <alex.shiell@s...> on Wed, 31 Jan 2001 16:46:04 -0000
you can specify a target in the form tag:



<FORM id=FORM1 name=FORM1 action="someasp.asp" method=post

target="someframe">



-----Original Message-----

From: Peter Byers [mailto:pb@s...]

Sent: Wednesday, January 31, 2001 4:42 PM

To: ASP Web HowTo

Subject: [asp_web_howto] ASP or ClientSide





Hi

	I have a frame that has lots of data fields on it (too much for GET

it

has to be POST)





	I need to do some validation - so there is an "OnClick" pointer to a

JavaScript Function.







	I can either provoke the action with a "BUTTON" or an "A HREF" tag



	I can either cause the submit from the click action directly or by a

SUBMIT() in the function.







	BUT





	I need to put a "TARGET" in to point the output of the ASP to reply

to

another frame









	HOWEVER



	IF



	I use the SUBMIT() in the function, how do I put the TARGET

statement in

with the command in the function ???







	IF



	I submit from the BUTTON (or SUBMIT) TYPE, how do I put the TARGET

statement in ???





	IF



	I use the "A HREF" tag, I can put the TARGET in BUT how do I post

the

data fields ???







	IN THE EVENT THAT THERE IS NO ANSWER TO THESE QUESTIONS







	Is there any way in ASP for the "Response.Redirect" or

"Response.Write"

to direct that response to a Frame other than the one that activated the

ASP ???





Thank you in anticipation - I hope

Pete (Northolt UK)

Message #3 by "Wally Burfine" <oopconsultant@h...> on Wed, 31 Jan 2001 17:14:36 -0000
how about:



frmMyForm.Action = "NextASPPage.asp"

frmMyForm.Target = "frameOther"

frmMyForm.submit()





>From: "Peter Byers" <pb@s...>

>Reply-To: "ASP Web HowTo" <asp_web_howto@p...>

>To: "ASP Web HowTo" <asp_web_howto@p...>

>Subject: [asp_web_howto] ASP or ClientSide

>Date: Wed, 31 Jan 2001 16:41:45 -0000

>

>Hi

>	I have a frame that has lots of data fields on it (too much for GET it

>has to be POST)

>

>

>	I need to do some validation - so there is an "OnClick" pointer to a

>JavaScript Function.

>

>

>

>	I can either provoke the action with a "BUTTON" or an "A HREF" tag

>

>	I can either cause the submit from the click action directly or by a

>SUBMIT() in the function.

>

>

>

>	BUT

>

>

>	I need to put a "TARGET" in to point the output of the ASP to reply to

>another frame

>

>

>

>

>	HOWEVER

>

>	IF

>

>	I use the SUBMIT() in the function, how do I put the TARGET statement in

>with the command in the function ???

>

>

>

>	IF

>

>	I submit from the BUTTON (or SUBMIT) TYPE, how do I put the TARGET

>statement in ???

>

>

>	IF

>

>	I use the "A HREF" tag, I can put the TARGET in BUT how do I post the

>data fields ???

>

>

>

>	IN THE EVENT THAT THERE IS NO ANSWER TO THESE QUESTIONS

>

>

>

>	Is there any way in ASP for the "Response.Redirect" or "Response.Write"

>to direct that response to a Frame other than the one that activated the

>ASP ???

>

>

>Thank you in anticipation - I hope

>Pete (Northolt UK)

>

  Return to Index