Hi
that looks like the right track but whe ni cal lthe code in the child
window i get a blank screen with this "javascript:__doPostBack
('DataList1:_ctl0:Select','')". My child window code fires when the
select is clicked in the datalist.
thanks
Markus
> Launch the child window with window.openModalDialog and use the
window.returnValue property:
var ret =3D window.openModalDialog(url, "", features);
alert(ret)
In child window:
window.returnValue =3D document.form.control.value;
self.close();
http://www.msdn.microsoft.com/workshop/author/dhtml/reference/methods/sh
owmodaldialog.asp
-----Original Message-----
From: Markus Hain [mailto:kill@g...]=20
Sent: 24. februar 2003 10:25
To: ASPX_Professional
Subject: [aspx_professional] value from child window back to iframe
Heeeelp
My aspx page has an iframe inside a user control from which i launch a=20
child window(also aspx). The user is supposed to select an option from=20
the child and the option (as string) must then be passed back to iframe.
Not working !
I've tried the conventional document.formname.controlname.value or
parent.form.controlname.value or parent.frames(framename).value etc etc=20
but all i get is error on page (document.form.control is null or not an=20
object).
Any advice ?
Thanks
Markus
---
Change your mail options at http://p2p.wrox.com/manager.asp or=20
to unsubscribe send a blank email to