473,499 Members | 1,873 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to Control Multiple Windows from within the Same ASP.Net Application

TC
Hello,

I was wondering if someone may have a project sample / code snippet for the
following scenario:

On the main page of an ASP.Net application, there is a list displayed of
some files available on the server. When the user selects an item from the
list & clicks 'OK', the file is opened in a new window. The user goes back
to the list and selects a new file & clicks 'OK' again.

How can one display the new choice in the 2nd window without launching a
3rd?

Thanks & Regards,

TC
Nov 16 '05 #1
2 853
use the same window name in the target. you list should look something like

<a href="file1" target="MyFile">File1</a><br>
<a href="file2" target="MyFile">File1</a><br>
<a href="file3" target="MyFile">File1</a><br>

don't know why you want an ok button, but if you javascript to open the
window, just use the same window name

-- bruce (sqlwork.com)
"TC" <ge**********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
| Hello,
|
| I was wondering if someone may have a project sample / code snippet for
the
| following scenario:
|
| On the main page of an ASP.Net application, there is a list displayed of
| some files available on the server. When the user selects an item from
the
| list & clicks 'OK', the file is opened in a new window. The user goes
back
| to the list and selects a new file & clicks 'OK' again.
|
| How can one display the new choice in the 2nd window without launching a
| 3rd?
|
| Thanks & Regards,
|
| TC
|
|
Nov 16 '05 #2
TC
The list is in a listbox control and is filled on the fly based upon what's
available. After the user selects an item they then click a button for
submission.

How should the sample be integrated with ASP.Net utilizing C#?

"bruce barker" <no***********@safeco.com> wrote in message
news:e2**************@TK2MSFTNGP12.phx.gbl...
use the same window name in the target. you list should look something
like

<a href="file1" target="MyFile">File1</a><br>
<a href="file2" target="MyFile">File1</a><br>
<a href="file3" target="MyFile">File1</a><br>

don't know why you want an ok button, but if you javascript to open the
window, just use the same window name

-- bruce (sqlwork.com)
"TC" <ge**********@yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
| Hello,
|
| I was wondering if someone may have a project sample / code snippet for
the
| following scenario:
|
| On the main page of an ASP.Net application, there is a list displayed of
| some files available on the server. When the user selects an item from
the
| list & clicks 'OK', the file is opened in a new window. The user goes
back
| to the list and selects a new file & clicks 'OK' again.
|
| How can one display the new choice in the 2nd window without launching a
| 3rd?
|
| Thanks & Regards,
|
| TC
|
|

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
3154
by: Brian | last post by:
NOTE ALSO POSTED IN microsoft.public.dotnet.framework.aspnet.buildingcontrols I have solved most of my Server Control Collection property issues. I wrote an HTML page that describes all of the...
0
1735
by: Gazelle | last post by:
I have a dilemma, that I am hopping I can find some help with. He is the back story so everyone sort of understands what it is that I am trying to accomplish. My problem: I have multiple...
3
1627
by: eBob.com | last post by:
I have several applications which mine web sites for personal information which they publish. They publish the info in one form, I transform the info into Excel spreadsheets. So all these...
5
2051
by: jeremy | last post by:
I have an ASP.Net 2.0 application running on Windows Server 2003. The application displays properly in Internet Explorer, however, when I use a browser control embedded in a .net form, I get an...
9
3163
by: Gummy | last post by:
Hello, I created a user control that has a ListBox and a RadioButtonList (and other stuff). The idea is that I put the user control on the ASPX page multiple times and each user control will...
0
2041
by: Budhi Saputra Prasetya | last post by:
Hi, I still have the same problem with embedding Windows Control. I'll just requote what I posted last time: I managed to create a Windows Form Control and put it on my ASP .NET page. I...
15
6470
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt...
6
3960
by: Joseph Geretz | last post by:
I have the following class which I am serializing and passing back and forth between my Web Service application and the client. public class Token : SoapHeader { public string SID; public...
7
2234
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I'm new to Visual Studio 2005. I'm creating a windows application using Visual Basic. After I added a control to a form and added some codings to the control, I want to rename the control. ...
3
3846
by: Steve | last post by:
Hi All I am using VB.net 2008 and use timer controls within my applications Question Does the code in a Timer control.tick event run on a different thread to the main Application thread (UI...
0
7134
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7180
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7225
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6901
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4920
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3105
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3101
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
307
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.