any idea how to activate an ASPX page in another window by click on a button?

H

Hrvoje Vrbanc

Hello all,

here is what I'd like to do: I have an ASPX page with certain buttons that
opens in its window, naturally. When any of those buttons is clicked, I'd
like the action to happen in another targeted window (with parameters passed
on) and that my original window remains unchanged. That window may or may
not already be open, the point is that a click on any button on my original
page causes action in the other but always the same window (the first click
opens it, other clicks simply change its content). Of course, if I use
Response.Redirect() method, it will change the page in the original window
and that's not what I want.

Is there a way to do this?

I know I could implement the content of my original frame as a user control
within a composite page but I'd prefer the several independent windows
solution.

Thank you in advance.

Kind regards,
Hrvoje
 
H

Hrvoje Vrbanc

Sorry for not researching enough prior to posting as I managed to find the
solution. I simply enrichened response.redirect with some JavaScript
containing frame name, e.g.:

Response.Write("<script>window.open('new_page.aspx?o=1&n=0&p=A',frame_name',
'');</script>")



Thank you.



Kind regards,

Hrvoje Vrbanc
 

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

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top