Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > deciding to open new window serverside

Reply
Thread Tools

deciding to open new window serverside

 
 
Charlie Garrett-Jones
Guest
Posts: n/a
 
      01-20-2006
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





 
Reply With Quote
 
 
 
 
McKirahan
Guest
Posts: n/a
 
      01-20-2006
"Charlie Garrett-Jones" <> 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").


 
Reply With Quote
 
 
 
 
Charlie Garrett-Jones
Guest
Posts: n/a
 
      01-22-2006
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" <> 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").
>
>



 
Reply With Quote
 
McKirahan
Guest
Posts: n/a
 
      01-22-2006
"Charlie Garrett-Jones" <> 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" <> 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").
> >
> >

>
>



 
Reply With Quote
 
McKirahan
Guest
Posts: n/a
 
      01-22-2006
"Charlie Garrett-Jones" <> 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" <> 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/>


 
Reply With Quote
 
Charlie Garrett-Jones
Guest
Posts: n/a
 
      01-23-2006
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" <> wrote in message
news:UcadneZYBOF2k0neRVn-...
> "Charlie Garrett-Jones" <> 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" <> 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/>
>
>



 
Reply With Quote
 
McKirahan
Guest
Posts: n/a
 
      01-23-2006
"Charlie Garrett-Jones" <> 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. "


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Window.Open get new tab instead of new window in FireFox Fredzidd@gmail.com Javascript 1 02-29-2008 03:06 AM
Closing ASP.Net Modal dialog window after serverside event processing alienworkshop Software 0 08-17-2006 08:45 AM
window.open() doesn't open new Window in Opera PC HUA Javascript 2 05-19-2004 02:29 AM
Need to open a new browser window, not a new window Gordon ASP General 3 04-16-2004 10:46 PM
Deciding Data Access Strategy satya ASP .Net 0 12-09-2003 08:51 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57