I am trying to open a new window using url.Action. And the new window url is coming out of this current project (external website).
Here are two things I need to do:
- I need to open it in a new window.
- It will be
http://localhost:57391/Home/http:/www.yahoo.cominstead of direct access to Yahoo.
Here is my code:
<tr >
<td>
<a href="<%= Url.Action("http://www.yahoo.com") %>"><span>Go to Yahoo</span></a>
</td>
</tr>
source
share