how to determine opened web page

  • Thread starter Thread starter Ruby
  • Start date Start date
R

Ruby

hi all,
how can i determine weather my web page has already open or not in
page.onload event

thank

Ruby
 
?? Perhaps "IsPostBack" depending on what you meant by "open". IsPostBack
allows to know if the page loads in response to a client side "post".


Patrice
 
Hi Patrice

Thank for reply, I mean if I have a.aspx with a button and every time I
click this button firstly it will check weather b.aspx has already open
or not, if it's opened so I just maximize it again if not it will open,
in the other word b.aspx will open one time

TIA

Ruby
 
This is a client side issue. Using a named window (either using window.open
in JavaScript or the target attribute of the "A" tag) will load the page
always in the same window (or will create a new one if it doesn't already
exists).

Patrice
 
Dear Patrice,

In which page should I add client scripting code in a.aspx
or b.aspx. can u give me that code.

TIA

Ruby
 
Back
Top