Hi All,
I have a simple problem (from a newbie)!
I have a web form and a button on it. When the button is clicked, a number of values will be saved (by using session) and then open a new web page with a specific url.
I know Response.Redirect("..aspx") will re-direct the current web page to another. However, what I would like to do is to keep current page unchange and just open another window.
Can anyone help? I am using VB.Net / ASP
Cheers
Larry
onclick="javascript:window.open('url');"
webassassin wrote:
onclick="javascript:window.open('url');"
Actually you can use this code only in normal html tags that support the client side onclick event. The original poster wants that a new window appears after that some server side processing is handled.
I created some code snippet that one can use to obtain this functionality:http://forums.asp.net/919412/ShowPost.aspx
Grz, Kris.
0 comments:
Post a Comment