473,386 Members | 1,715 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,386 software developers and data experts.

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 19 '05 #1
2 815
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 19 '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 19 '05 #3

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

Similar topics

2
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
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
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
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
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
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
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
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
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
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
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...

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.