473,695 Members | 2,372 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

deciding to open new window serverside

i have a server side generated web application that provides parameter forms
and always opens the associated reports in a new browser window. the code
that controls the opening of the new browser window is simply html
target='_blank' . but now there is some business rules that may be checked
server side only. so if the data provided fails, i want the same target
window as the parameter form and if it passes i want a new window.

can anyone provide me with some clues as to the best method of doing this?

thanks in advance.

--
charlie

Jan 20 '06 #1
6 1840
"Charlie Garrett-Jones" <no****@nowhere .com> wrote in message
news:YHcAf.4109 98$ki.346394@pd 7tw2no...
i have a server side generated web application that provides parameter forms and always opens the associated reports in a new browser window. the code
that controls the opening of the new browser window is simply html
target='_blank' . but now there is some business rules that may be checked
server side only. so if the data provided fails, i want the same target
window as the parameter form and if it passes i want a new window.

can anyone provide me with some clues as to the best method of doing this?

thanks in advance.


Does the window of the parameter form have a name?

You can assign a name to the target and use it repeatedly.

For example, target="Report" (and target="Form").
Jan 20 '06 #2
thanks for the reply,

but this would be for one window writting to another, correct? i want to be
able to write to the parameter window or a open a new window and decide this
server side. is javascript the way to go here?

charlie garrett-jones
"Charlie Garrett-Jones" <no****@nowhere .com> wrote in message
news:YHcAf.4109 98$ki.346394@pd 7tw2no...
i have a server side generated web application that provides parameter

forms
and always opens the associated reports in a new browser window. the code
that controls the opening of the new browser window is simply html
target='_blank' . but now there is some business rules that may be checked
server side only. so if the data provided fails, i want the same target
window as the parameter form and if it passes i want a new window.

can anyone provide me with some clues as to the best method of doing
this?

thanks in advance.


Does the window of the parameter form have a name?

You can assign a name to the target and use it repeatedly.

For example, target="Report" (and target="Form").

Jan 22 '06 #3
"Charlie Garrett-Jones" <no****@nowhere .com> wrote in message
news:rtTAf.2022 07$tl.78223@pd7 tw3no...
thanks for the reply,

but this would be for one window writting to another, correct? i want to be able to write to the parameter window or a open a new window and decide this server side. is javascript the way to go here?

charlie garrett-jones
"Charlie Garrett-Jones" <no****@nowhere .com> wrote in message
news:YHcAf.4109 98$ki.346394@pd 7tw2no...
i have a server side generated web application that provides parameter

forms
and always opens the associated reports in a new browser window. the code that controls the opening of the new browser window is simply html
target='_blank' . but now there is some business rules that may be checked server side only. so if the data provided fails, i want the same target
window as the parameter form and if it passes i want a new window.

can anyone provide me with some clues as to the best method of doing
this?

thanks in advance.


Does the window of the parameter form have a name?

You can assign a name to the target and use it repeatedly.

For example, target="Report" (and target="Form").


Jan 22 '06 #4
"Charlie Garrett-Jones" <no****@nowhere .com> wrote in message
news:rtTAf.2022 07$tl.78223@pd7 tw3no...
thanks for the reply,

but this would be for one window writting to another, correct? i want to be able to write to the parameter window or a open a new window and decide this server side. is javascript the way to go here?

charlie garrett-jones
"Charlie Garrett-Jones" <no****@nowhere .com> wrote in message
news:YHcAf.4109 98$ki.346394@pd 7tw2no...
i have a server side generated web application that provides parameter

forms
and always opens the associated reports in a new browser window. the code that controls the opening of the new browser window is simply html
target='_blank' . but now there is some business rules that may be checked server side only. so if the data provided fails, i want the same target
window as the parameter form and if it passes i want a new window.

can anyone provide me with some clues as to the best method of doing
this?

thanks in advance.


Sorry but I don't really understand what your trying to do.

What is a "parameter window" or "parameter forms"?

Perhaps you want Server.Execute( ) or Server.Transfer ()

The New ASP 3.0 Server Methods
<URL: http://www.15seconds.c om/issue/010220.htm>

"The Server.Execute method is a new ASP method, introduced with IIS 5.0 for
a first time. You can execute a child ASP page with the Server.Execute and
treat the child ASP page as part of the main page."
<URL: http://www.aspdev.org/articles/asp-server.execute/>
Jan 22 '06 #5
thanks again for the response.

the "parameter window" and the "parameter form" are the same window.

essentially, i would like to know whether there is some html or header that
i can manipulate serverside to either populated the calling browser window
or open a new window and populate that. no asp here.

thanks in advance.

charlie garrett-jones

"McKirahan" <Ne**@McKirahan .com> wrote in message
news:Uc******** ************@co mcast.com...
"Charlie Garrett-Jones" <no****@nowhere .com> wrote in message
news:rtTAf.2022 07$tl.78223@pd7 tw3no...
thanks for the reply,

but this would be for one window writting to another, correct? i want to

be
able to write to the parameter window or a open a new window and decide

this
server side. is javascript the way to go here?

charlie garrett-jones
> "Charlie Garrett-Jones" <no****@nowhere .com> wrote in message
> news:YHcAf.4109 98$ki.346394@pd 7tw2no...
>> i have a server side generated web application that provides parameter
> forms
>> and always opens the associated reports in a new browser window. the code >> that controls the opening of the new browser window is simply html
>> target='_blank' . but now there is some business rules that may be checked >> server side only. so if the data provided fails, i want the same
>> target
>> window as the parameter form and if it passes i want a new window.
>>
>> can anyone provide me with some clues as to the best method of doing
>> this?
>>
>> thanks in advance.


Sorry but I don't really understand what your trying to do.

What is a "parameter window" or "parameter forms"?

Perhaps you want Server.Execute( ) or Server.Transfer ()

The New ASP 3.0 Server Methods
<URL: http://www.15seconds.c om/issue/010220.htm>

"The Server.Execute method is a new ASP method, introduced with IIS 5.0
for
a first time. You can execute a child ASP page with the Server.Execute and
treat the child ASP page as part of the main page."
<URL: http://www.aspdev.org/articles/asp-server.execute/>

Jan 23 '06 #6
"Charlie Garrett-Jones" <no****@nowhere .com> wrote in message
news:YXWAf.3115 83$2k.130406@pd 7tw1no...
thanks again for the response.

the "parameter window" and the "parameter form" are the same window.

essentially, i would like to know whether there is some html or header that i can manipulate serverside to either populated the calling browser window
or open a new window and populate that. no asp here.

thanks in advance.


[snip]

You might also look into AJAX:
Asynchronous JavaScript and XML.

Google it for more info.

http://en.wikipedia.org/wiki/AJAX
"Asynchrono us JavaScript And XML, or its acronym Ajax, is a Web development
technique for creating interactive web applications. "
Jan 23 '06 #7

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

Similar topics

7
7019
by: Anna | last post by:
Hi all. I have a (hopefully) pretty simple question. I open a link in a new window: <a href="http://www.somewhere.com/some.hml" onclick="window.open(url,null,'resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,width=600,height=400');">Link</a> The page I am opening is not mine. I want to edit the content of the page I am opening, adding text "This page is opened in a new window" as a first thing...
2
8304
by: Richard Bell | last post by:
Newbie question ... please respond to group I'm trying to open/navigate to a url. How can I tell when the page is fully loaded? Testing suggest that window.open returns before the page is completely loaded and displayed. Likewise, window.navigate. The code looks something like this: wHandle = window.open( url, name, flags ); .... // how to tell when url is fully loaded and displayed
1
3760
by: Robin Day | last post by:
Ok, this has to be either easy, or impossible... I'd like to fire of a pop up window using serverside code... Basically its a preview popup of a form. The aspx pop up page goes through the session etc to display the information entered so far. Just a javascipt href will not work as when the preview button or link is pressed the form needs to post back to the server to make the session information up to date.
1
2064
by: chirakg21 | last post by:
I have a one single login page with two textbox of Username(txtUsername) and password (txtPassword) and two buttons with one Login(cmdLogin) and Cancel(cmdCancel). Now in the code behind I have code like Private Sub cmdLogin_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdLogin.Click
4
2069
by: Greg Collins [MVP] | last post by:
I've searched around and can't seem to find an answer to this... maybe someone has already done it. I want to create a redirection page for hyperlinks which point to an external site or file. This is so that I can keep track of how many visitors are linking to external resources from the site using the hosting server's statistics package. Due to technical constraints that I don't want to get into right here, I am unable to have the...
4
3300
by: klynn | last post by:
In my Page_Load I call a RegisterStartupScript. I know its getting called. Yet, its not opening the page. I tried to open a regular .html file as well. Same problem. I know I can open 1. popup windows. I tested this with a whole different application and it works fine. (different calling and receiving page though). And the bummer is that it used to work last year when I last worked on this. I'm sure of it. I even grabbed the same codebase...
6
1137
by: Giovanni Cobos | last post by:
I am developing a web page with Visual Basic .NET and I would appreciate if you can help me, because I want to know how can I open a new window (not a pop up, because they are blocked) in the browser but it should be through code. Thanking you in advance for your time and help. Giovanni
4
1968
by: Bob Bedford | last post by:
Hi all, I'm stuck with some php code that runs out of time limit. This is due to a long XML file process that has to save pictures on the disk. What I've now: - read XML file - parse XML file - for every article - save datas in Database
6
5360
by: Jeff | last post by:
hey guys, this may not be the right place, but i wanted to give it a shot. i have an if statement, based on the data of a mssql db. if the if is .eof do nothing else
0
9115
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
7661
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6491
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5839
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4340
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4579
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3003
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2272
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
1976
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.