By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,953 Members | 1,131 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,953 IT Pros & Developers. It's quick & easy.

ImageButton open in new window

P: n/a
Hi,

I have an asp.net page which uses an ImageButton. I'd like to open a new
page in a new window when i click on this image.
How can I do this ?
Eventually, my code looks like this :

private void imbtPrint_Command(object sender,
System.Web.UI.WebControls.CommandEventArgs e)

{

// Do some checks

// ...

if( OK )

{

Response.Redirect(page_to_open_in_new_window);

}

}

Thanks,
Laurent.
Nov 18 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.