I do not necessarily have to use response.redirect, but that is what I had. I would like to open the selected link in a new window. How do I do that?
context.Response.Redirect(ConfigurationManager.AppSettings["URL"] + ext );
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t is the short answer. The browser is the only thing that can open up a new window.
What you can do is send a chunk of html down the response that has a link with your url as an href, target=”_blank” and a chunk of javascript onload of the form that fakes a click. If this doesn’t work then use a window.open(url);