473,320 Members | 1,955 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.

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 1823
"Charlie Garrett-Jones" <no****@nowhere.com> wrote in message
news:YHcAf.410998$ki.346394@pd7tw2no...
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.410998$ki.346394@pd7tw2no...
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.202207$tl.78223@pd7tw3no...
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.410998$ki.346394@pd7tw2no...
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.202207$tl.78223@pd7tw3no...
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.410998$ki.346394@pd7tw2no...
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.com/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********************@comcast.com...
"Charlie Garrett-Jones" <no****@nowhere.com> wrote in message
news:rtTAf.202207$tl.78223@pd7tw3no...
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.410998$ki.346394@pd7tw2no...
>> 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.com/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.311583$2k.130406@pd7tw1no...
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
"Asynchronous 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
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"...
2
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...
1
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...
1
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...
4
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...
4
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...
6
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...
4
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...
6
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
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.