473,320 Members | 1,799 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Open a window in a window

gchq
96
Hi there

Using VB.NET 2.0 I'm attempting to open a window that remains contained within the existing window! Any idea how to accomplish this?

Thanks - and Happy New Year
Jan 1 '09 #1
7 1534
kenobewan
4,871 Expert 4TB
Happy new year! Do you want to use masterpages?
Jan 2 '09 #2
Curtis Rutland
3,256 Expert 2GB
If I understand you correctly, you should look into using a ModalPopup.
Example:
ModalPopup Sample
Jan 2 '09 #3
gchq
96
Thanks for your replies...
1. Using Masterpage is not essential, but in Version 1 (the last app) it was used

2. ModalPopupExtender is ok for small pop-ups (I use this for reporting errors and such like), but where you need to call another (very detailed) page it wouldn't work... and having the possibilty of multiple windows open would also be a requirement..

The idea is to get the 'look and feel' of a windows app, where the child windows are all contained within the main app window... I've seen this once before in a web page, but of course can't find it again - sigh
Jan 2 '09 #4
Curtis Rutland
3,256 Expert 2GB
Well, what you're looking for is a rich client, and it's not easy to achieve in a web page. You can try a DragPanel but it's limitations are similar to the ModalPopup.

Perhaps you can use DragPanels with iframes and other pages.

The controls in that Ajax Control Toolkit are the richest you are going to get with just ASP.NET. If you need more, you are going to need to write something for a client plugin like Flash or Silverlight.

Good luck on your project!
Jan 3 '09 #5
gchq
96
This seems to be the concept I was looking for - just need to create the JavaScript as a class to feed in variables and launch on the page with ScriptManager...

Floating window with tabs
Jan 3 '09 #6
Curtis Rutland
3,256 Expert 2GB
Well, you could do that exactly with a TabContainer and a DragPanel and a ResizableControl from the Ajax Toolkit that I've been linking to.
Jan 4 '09 #7
gchq
96
The only trouble with the TabContainer controls is they are so problematic when it comes to 'wiring up' code behind for onclick - I have tried them and will include just the codebehind below as an example. This was a small menu section, need to do one at least ten times this size and I'd be falling over myself with keeping track of Ajax controls.

So far the JavaScript mentioned is doing a great job, apart from re-loading closed windows - that is giving me some grief...

Anyway, if you can't sleep here is the cure - and the reason I'd rather stay clear of TabContainer,,,,,,,, Having said that nothing is ever cast in stone!
Attached Files
File Type: txt open_window_in_window.txt (217.6 KB, 393 views)
Jan 4 '09 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

18
by: Paul | last post by:
I link to a web site from an Excel spreadsheet. The page i link to is getCookie.asp which sets a cookie then returns back some html which opens a new window, to the same site but a different page...
6
by: Les | last post by:
Hi, I'd like to find out how to use the window.open() script in Fireworks MX. I have posted my question in the Fireworks forum but didn't get any replies. Since it's javascript, maybe someone...
10
by: Marshall Dudley | last post by:
When I do the following line in Netscape, the popup loads as it should, but the parent window usually, but not always, reloads as well. <a href="#"...
10
by: David McCulloch | last post by:
The following code opens a new window, but the "resizeTo" doesn't resize it. Why not? (Don't ask why I simply did not open the window with the new size....my original problem was how to open a...
2
by: Samir Pandey | last post by:
Hello, I am using the following javascript code to open a new window. Somehow, IE always opens a new window. It doesn't open target url in the window name given. All i want is, if there is a...
3
by: NeverLift | last post by:
But, if it's not open, I don't want to open it . . . using window.open will open it if it doesn't exist, even if the url in that open is null (the window is then empty -- but it's open). The...
2
by: Larry R Harrison Jr | last post by:
I have pull-down menus in javascript and I have the code for opening a link in a new window. But I want it to open a full-sized window. I can't figure out the syntax. What I have so far: ...
8
by: Dominic Tocci | last post by:
I'm searching for a way to use window.open on my web page to open a window in firefox that allows the sidebars to work (bookmarks, history, etc). When I use the following: var...
7
by: anthony.turcotte | last post by:
Hi, I've looked for a solution to this problem on google, read posts in this newsgroup and I still haven't found anything that could help me. Here's the scenario. 1. User accesses...
13
by: Geoff Fox | last post by:
I am in the final moments of designing a new website. One of the pages (http://www.auditionfactory.com/samples.php) has four links to show sample work. I would like these links to open new...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.