Skip to content

Instantly share code, notes, and snippets.

@pedrocss
Created June 25, 2012 14:28
Show Gist options
  • Save pedrocss/2988964 to your computer and use it in GitHub Desktop.
Save pedrocss/2988964 to your computer and use it in GitHub Desktop.
Redirect to other page using button, in ASP.NET MVC
<input type="button" value="Redirect" onclick="window.location='@Url.Action("Action", "Controller")'"/>
@walmikiarjun
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment