Re: ass values between two pages
- From: "Terry Burns" <me@xxxxxxxx>
- Date: Sun, 5 Mar 2006 09:04:01 -0000
Pass the selected values back to a function on the calling page
//Calling Page
function myChildHanlder( valueForAction )
{
//Take some action here with the value passed to me
//Usually pass this to a hidden field
__doPostback();
}
//On Child Form
window.opener.myChildHandler( theValueToPassBack );
//In Asp.net
On PreRender event, look at the hidden field and act upon it.
HTH
--
Terry Burns
http://TrainingOn.net
"Jason" <j@xxxxxxxxxxxxxxxx> wrote in message
news:epgk02p57rhe7p0nodenlph208brk00dve@xxxxxxxxxx
hi all,
when a user click a button on 'parent' page, then 'child' page pop-up and
get
focusd. When user select data from two dropdown box (or other controls),
then
they click submit button at 'child' page, then the 'child' page closed
itself
and return values to 'parent' page (two textbox).
How can I do this in JavaScript? The reason I am using JavaScript because
other
programmers web apps will also call my 'child' page too.
Thanks in advance.
.
- References:
- ass values between two pages
- From: Jason
- ass values between two pages
- Prev by Date: Re: Problems with dynamic LoadControl
- Next by Date: Re: Mail sent through IIS virtual SMTP server not arriving
- Previous by thread: ass values between two pages
- Next by thread: Re: ass values between two pages
- Index(es):