T
Tina
I have page1.aspx and page2.aspx.
Lets say page1 has a hyperlink to page2. If the user clicks on that
hyperlink Page two will be displayed either in a new window or the same
window(depending on which way I want it).
Now, I want exactly the same behavior to occur except that I don't want to
use a hyperlink. I want to put a button on page1 and when the user pushes
the button my code behind that button will decide if page2 should display or
not. But if it does decide that page2 should display, the behavior should
be exactly as if a hyperlink were used.
I can't seem to figure out how to do this. I read, here on this forum, that
server.transfer would do it but that does not work - the page1 url is still
displayed.
How can I do this?
Thanks,
T
Lets say page1 has a hyperlink to page2. If the user clicks on that
hyperlink Page two will be displayed either in a new window or the same
window(depending on which way I want it).
Now, I want exactly the same behavior to occur except that I don't want to
use a hyperlink. I want to put a button on page1 and when the user pushes
the button my code behind that button will decide if page2 should display or
not. But if it does decide that page2 should display, the behavior should
be exactly as if a hyperlink were used.
I can't seem to figure out how to do this. I read, here on this forum, that
server.transfer would do it but that does not work - the page1 url is still
displayed.
How can I do this?
Thanks,
T