Use button to open the other page

georgepatotk

Contributor
Joined
Mar 1, 2004
Messages
432
Location
Malaysia
I have a problem,
We usually use Hyperlink in linking our page to the other page. by just assigning the value.

When we are using Button, we need to use Response.REdirect.

Now, I want to use BUtton and Linkmy page to the other page, where the new page is showing in a new explorer instead of the original explorer (the page where the button located)

So, how am I going to do so?

Please help, urgent..
 
ok, i figured out the way.

Code:
Button1.Attributes.Add("OnClick", "javascript:window.open('FileSharing/UserList.aspx')")
But, can anyone tell me how to send our Session Variables into that page? Session variables are not available in that page.
 
Ok, I got the answer.
It was my mistake.
actaully when we link to the page, all the session variables are automaically available in that page.
 
Back
Top