I want to navigate to another action NewPage in Home Controller when somebody click on the following button.
<input class="t-button AlignButton" type="button" value="New" />
What would be the code for performing this action.
Thanks in advance.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It might be better to use an ActionLink.
If you want it to look like a button, you can add css properties.
In the css, you can define what you want the link to look like including using an image.