title: Back button or Navigate To Specific View(Page) -ASP.NET MVC3
body: <p>I am using ASP.NET MVC3 for my web application. To display a button in the User Interface I am using the following html in my View1.cshtml. </p>
  
  <pre><code>   &lt;div class="demo"&gt;
                      &lt;input type="submit" value="Save" title="Click here to create a comment" /&gt;
                      &lt;input type="button" value="Cancel" onclick="location.href='/'"  title="Click here to cancel and go back to main menu" /&gt;
   &lt;/div&gt;
  </code></pre>
  
  <p>I want to place a button so that users can go back to the previous page.. So to achieve this I want to place a button in the .cshtml which takes View Name and can</p>
  
  <ul>
  <li>transfer to specific view. (or)  </li>
  <li>To the previous view.</li>
  </ul>
  
  <p>Any one above requirements will be good for my application.</p>
  
  <p>How can I do this? Any help or ideas will be useful to me.</p>
  
  <p>Thank you</p>