Ask a Question related to ASP.NET General, Design and Development.
-
sramruttun #1
closing parent after pop up appears
hi
I open a pop up window using window.showModalDialog. How can I close the
parent window after the pop up appears ?
sramruttun Guest
-
Parent script calling another parent script
For the enemy in my game I let one parent script check if the distance between the player and the enemy is low enough. When it is, it calls another... -
?????????? appears in Access
when inserting text into an Access database ?????????? sometimes appears Could anybody tell me what this is please?? -
Loaded MC appears way too big, why? Please help!
Hi guys ,hope you can help me out again! After worrying myself sick about converting to flash 2004 I have finally got myself a demo version and am... -
Movie Closing?? & Windows Closing??
> Can anyone tell me why when I create a projector, it closes after about 10th of a second, it simply opens and closes stright away. Do you have a... -
#24735 [NEW]: call_user_func on parent method does not use parent private property
From: tater at potatoe dot com Operating system: OS X 10.2 PHP version: 5CVS-2003-07-21 (dev) PHP Bug Type: Zend Engine 2... -
Daniel Bass #2
Re: closing parent after pop up appears
window.showModalDialog(...)
window.close();
will first launch your window, then close itself....
"sramruttun" <sramruttun@yahoo.com> wrote in message
news:eZ8kxcBXDHA.2204@TK2MSFTNGP12.phx.gbl...> hi
>
> I open a pop up window using window.showModalDialog. How can I close the
> parent window after the pop up appears ?
>
>
Daniel Bass Guest
-
Saravana #3
Re: closing parent after pop up appears
Check out this article, here i have explained how you can close the popup
window
[url]http://www.microsoft.com/india/msdn/articles/PopupCalendarinASP.aspx[/url]
--
Saravana
Microsoft India Community Star,MC**
[url]www.ExtremeExperts.com[/url]
"sramruttun" <sramruttun@yahoo.com> wrote in message
news:eZ8kxcBXDHA.2204@TK2MSFTNGP12.phx.gbl...> hi
>
> I open a pop up window using window.showModalDialog. How can I close the
> parent window after the pop up appears ?
>
>
Saravana Guest
-
Vidar Petursson #4
Re: closing parent after pop up appears
Hi
You cant close the opener if you use a dialog until the dialog closes
use window.open instead.....
--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"sramruttun" <sramruttun@yahoo.com> wrote in message
news:eZ8kxcBXDHA.2204@TK2MSFTNGP12.phx.gbl...> hi
>
> I open a pop up window using window.showModalDialog. How can I close the
> parent window after the pop up appears ?
>
>
Vidar Petursson Guest
-
sramruttun #5
Re: closing parent after pop up appears
thanks everyone for your replies
Daniel said:
window.showModalDialog(...)
window.close();
well I had tried this but it does not work..
Saravana is suggesting an article on how to close the POP UP WINDOW while I
want to close the parent (opener)
Vidur said that the opener can't be closed if you use a dialog until the
dialog closes
use window.open instead.....
I too thought that when showModalDialog is used, the parent can't be closed.
I'll need to use window.open.
But is there still a workaround to achieve it using showModalDialog?
"sramruttun" <sramruttun@yahoo.com> wrote in message
news:eZ8kxcBXDHA.2204@TK2MSFTNGP12.phx.gbl...> hi
>
> I open a pop up window using window.showModalDialog. How can I close the
> parent window after the pop up appears ?
>
>
sramruttun Guest
-
sramruttun #6
Re: closing parent after pop up appears
ok Jerry
But what's the main difference between showModelessDialog and
showModalDialog ?
Both seem to be modal.
"Jerry III" <jerryiii@hotmail.com> wrote in message
news:eeDXKdKXDHA.1940@TK2MSFTNGP10.phx.gbl...(that's> No there isn't, you can't close a window from a modal dialog it owns since
> the parent doesn't process user input until the modal dialog closesuse> the difference between modal and modeless dialog). You should be able towhile> showModelessDialog instead of window.open if you want to.
>
> Jerry
>
> "sramruttun" <sramruttun@yahoo.com> wrote in message
> news:eMto5JKXDHA.652@tk2msftngp13.phx.gbl...> > thanks everyone for your replies
> > Daniel said:
> > window.showModalDialog(...)
> > window.close();
> > well I had tried this but it does not work..
> >
> > Saravana is suggesting an article on how to close the POP UP WINDOWthe> I> closed.> > want to close the parent (opener)
> >
> > Vidur said that the opener can't be closed if you use a dialog until the
> > dialog closes
> > use window.open instead.....
> >
> > I too thought that when showModalDialog is used, the parent can't be> > I'll need to use window.open.
> >
> > But is there still a workaround to achieve it using showModalDialog?
> >
> >
> >
> >
> >
> >
> > "sramruttun" <sramruttun@yahoo.com> wrote in message
> > news:eZ8kxcBXDHA.2204@TK2MSFTNGP12.phx.gbl...> > > hi
> > >
> > > I open a pop up window using window.showModalDialog. How can I close>> >> > > parent window after the pop up appears ?
> > >
> > >
> >
>
sramruttun Guest
-
Vidar Petursson #7
Re: closing parent after pop up appears
Hi
[url]http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/methods/showmodelessdialog.asp[/url]
The dialog will close when opener closes.... use window.open ;-)
--
Best Regards
Vidar Petursson
==============================
Microsoft Internet Client & Controls MVP
==============================
"sramruttun" <sramruttun@yahoo.com> wrote in message
news:ubTIHnNXDHA.2256@TK2MSFTNGP10.phx.gbl...since> ok Jerry
> But what's the main difference between showModelessDialog and
> showModalDialog ?
> Both seem to be modal.
>
> "Jerry III" <jerryiii@hotmail.com> wrote in message
> news:eeDXKdKXDHA.1940@TK2MSFTNGP10.phx.gbl...> > No there isn't, you can't close a window from a modal dialog it ownsthe> (that's> > the parent doesn't process user input until the modal dialog closes> use> > the difference between modal and modeless dialog). You should be able to> while> > showModelessDialog instead of window.open if you want to.
> >
> > Jerry
> >
> > "sramruttun" <sramruttun@yahoo.com> wrote in message
> > news:eMto5JKXDHA.652@tk2msftngp13.phx.gbl...> > > thanks everyone for your replies
> > > Daniel said:
> > > window.showModalDialog(...)
> > > window.close();
> > > well I had tried this but it does not work..
> > >
> > > Saravana is suggesting an article on how to close the POP UP WINDOW> > I> > > want to close the parent (opener)
> > >
> > > Vidur said that the opener can't be closed if you use a dialog until> the> > closed.> > > dialog closes
> > > use window.open instead.....
> > >
> > > I too thought that when showModalDialog is used, the parent can't be> > > I'll need to use window.open.
> > >
> > > But is there still a workaround to achieve it using showModalDialog?
> > >
> > >
> > >
> > >
> > >
> > >
> > > "sramruttun" <sramruttun@yahoo.com> wrote in message
> > > news:eZ8kxcBXDHA.2204@TK2MSFTNGP12.phx.gbl...
> > > > hi
> > > >
> > > > I open a pop up window using window.showModalDialog. How can I close>> >> > > > parent window after the pop up appears ?
> > > >
> > > >
> > >
> > >
> >
>
Vidar Petursson Guest



Reply With Quote

