By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,968 Members | 1,589 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,968 IT Pros & Developers. It's quick & easy.

deciding to open new window serverside

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
"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

P: n/a
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

P: n/a
"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

P: n/a
"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

P: n/a
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

P: n/a
"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 discussion thread is closed

Replies have been disabled for this discussion.