Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Re: Display pop-up window in different screen

Reply
Thread Tools

Re: Display pop-up window in different screen

 
 
Gregory A. Beamer
Guest
Posts: n/a
 
      10-02-2009
"aspfun via DotNetMonster.com" <u53138@uwe> wrote in
news:9cff42ca573cd@uwe:

> I use window.open to open a pop-up window.


Okay, I get this part.

> Is it possible to code to put pop-up window alway in another screen
> other than main page?


Do you mean open another browser instance? That is what window.open()
does, so I expect not.

Or do you mean on another computer screen (second monitor)? If so,
probably , but it is not wise unless you can guarantee all users,
forever, will have multiple screens.

Or do you mean put it on a different part of the screen than the main
window? Yes, you can put positioning information in the window.open()
command.

Or do you mean have the code set up in Code Behind? Yes, use the script
registering commands.


I think I have covered every variable about what you might be trying to
accomplish. If not, clarify your post.


Peace and Grace,


--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Reply With Quote
 
 
 
 
George
Guest
Posts: n/a
 
      10-05-2009
If you give it a name then window.open will reuse the window.
http://msdn.microsoft.com/en-us/libr...51(VS.85).aspx

That might help.


George.

"aspfun via DotNetMonster.com" <u53138@uwe> wrote in message
news:9d01a750a3f70@uwe...
> Gregory A. Beamer wrote:
>>> I use window.open to open a pop-up window.

>>
>>Okay, I get this part.
>>
>>> Is it possible to code to put pop-up window alway in another screen
>>> other than main page?

>>
>>Do you mean open another browser instance? That is what window.open()
>>does, so I expect not.
>>
>>Or do you mean on another computer screen (second monitor)? If so,
>>probably , but it is not wise unless you can guarantee all users,
>>forever, will have multiple screens.
>>
>>Or do you mean put it on a different part of the screen than the main
>>window? Yes, you can put positioning information in the window.open()
>>command.
>>
>>Or do you mean have the code set up in Code Behind? Yes, use the script
>>registering commands.
>>
>>I think I have covered every variable about what you might be trying to
>>accomplish. If not, clarify your post.
>>
>>Peace and Grace,
>>
>>| Think outside the box! |
>>*******************************************

>
> My PC has two monitors. I want pop-up window always stay in another
> monitor
> which is not the same as main page.
>
> --
> Message posted via DotNetMonster.com
> http://www.dotnetmonster.com/Uwe/For...p-net/200910/1
>


 
Reply With Quote
 
 
 
 
Gregory A. Beamer
Guest
Posts: n/a
 
      10-05-2009
"aspfun via DotNetMonster.com" <u53138@uwe> wrote in
news:9d01a750a3f70@uwe:

> My PC has two monitors. I want pop-up window always stay in another
> monitor which is not the same as main page.


If it is simply a matter of reusuing the same window every time, give it a
name. As long as every window.open targets the same name, they open in the
same window.

If that is not enough, you can calculate the location for the new window,
but understand that targeting the second monitor might not be a great
option if others use the application.

Peace and Grace,

--
Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
window.open - trying to display a new window with a different title - HELP linab2007@gmail.com Javascript 0 05-30-2007 03:09 PM
Open new firefox window on different X display? ted@loft.tnolan.com (Ted Nolan Firefox 2 02-08-2007 03:03 AM
Xlib sync on different instance of Xlib.display.Display()? Ferry Boender Python 0 12-13-2005 10:25 PM
How to display different System.Web.UI.UserControl under different circumstances? mehdi_mousavi ASP .Net Web Controls 0 09-28-2005 11:40 AM
Display same image at different places in a window Yves PEYSSON Javascript 8 12-22-2003 01:48 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57