deciding to open new window serverside

  • Thread starter Charlie Garrett-Jones
  • Start date
C

Charlie Garrett-Jones

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.
 
M

McKirahan

Charlie Garrett-Jones said:
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").
 
C

Charlie Garrett-Jones

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
 
M

McKirahan

Charlie Garrett-Jones said:
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
 
M

McKirahan

Charlie Garrett-Jones said:
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

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/>
 
C

Charlie Garrett-Jones

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
 
M

McKirahan

Charlie Garrett-Jones said:
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. "
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,900
Latest member
Nell636132

Latest Threads

Top