Button Opens Link

jlcruzAME

Member
Joined
Oct 18, 2012
Messages
21
Programming Experience
1-3
Below is the current code I have functioning on my laptop to test a button that passes information to another page.

VB.NET:
        picAddress = "http://sitename.com"        picAddress = picAddress + woNumber
        picAddress = picAddress + "&value2="
        picAddress = picAddress + workReq
        picAddress = picAddress + "&value3="
        picAddress = picAddress + addy
        System.Diagnostics.Process.Start(picAddress)

The problem is, when I put this on the web server and try to access it it just looks like I'm refreshing the page when I click the link. But on my laptop, it was working and opening the link I needed it to. Is there another way to do this kind of thing when someone is accessing the site on the web server?

Any help is appreciated.
 
UPDATE: I have this code in now and I have triggering OnClientClick:

VB.NET:
Response.Write("<script> window.open('" + picAddress + "','_blank') </script>")

The problem now is when I click the link that triggers this, it's like my page gets zoomed in on and the div containing the content of the page seems to get bigger than the main body. I'm trying to figure this out at the moment. If anyone could offer any help on this it'd be appreciated.
 
Back
Top