Author: TBarton | Posted on: 3/25/2010 11:30:02 AM | Views : 214

I have a site that uses authentication. I will be displaying links to other sites. Currently I am using Link Buttons because the link maybe to another site or a file in our DB so the Link Button allows me to place the DB id field into the command argument.
So when the user clicks on one of the buttons I check to see if it match's a web site and if so I want to direct the user to the site. Here is the code.
Response.Redirect("Http://" & strfile)
 
strfile being the text of the button. This works, however it opens it in the same window which is less then desirable. I would like to open it in a new window. I have tried client side scripting, I have tried process.start, and other ways to open the link in a new window. When I use these methods and I click on the button the page posts back but the link is never opened. I do have the Link Buttons inside a update panel and have added the button as ...

Go to the complete details ...