I\'m trying to redirect to external url from an action method but can\'t get it to work. Can anybody shed some light on my error?
public void ID(string id)
If you're talking about ASP.NET MVC then you should have a controller method that returns the following:
return Redirect("http://www.google.com");
Otherwise we need more info on the error you're getting in the redirect. I'd step through to make sure the url isn't empty.