I have a gridview in my ASP.NET website(VB code) and my last column holds the website of the companies that I am loading into the grid. When I click on the hyperlink Im loading a new tab with the webpage link I just clicked on. The thing is, if the hyperlink has an HTTP the page loads fine but if the hyperlink is a www address it takes the path of the project for some reason and tries to load that with the www and of course that doesnt work.
For instance, the hyperlink I am trying to click on is "www.abc123.com/fa
" and when I click on it, or hover over it, I see on the bottom of the page that it has "http://localhost:58626/Trans/www.abc123.com/fa
" and everything before the www is the path of my website? But like I said if the hyperlink starts with an http it comes up fine and even shows on the bottom of the page, when I hover over it, the correct site?
My first thought was to check the Gridview RowCommand or RowDataBound event when I click on the hyperlink and fix the path of the site if it starts with www take everything off the front of it and just load the site?
Has this happened to anyone?
Please help me!!