I want to redirect a link using url,action(...)to an external site http://external.com/Page.html
How do i do that in ASP.NET?
I want to redirect a link using url,action(...)to an external site http://external.com/Page.html
How do i do that in ASP.NET?
Since the local ASP.Net site does not have knowledge of the external site, just enter your code in plain Html:
<a href="http://external......">....</a>
If you need to calculate parameters:
<a href="http://external......?<%= MyParamsCorrectlyEncoded() %>">....</a>
If you are using MVC (your question mentions Url.Action) you can use AttributeEncode to encode the attributes to the external site.