title: Html.AntiForgeryToken() breaking pagination behavior
body: <p><strong>Context</strong> </p>
  
  <p>Our web application has a feature for example "Create Employee". It shows three pages (1 of n) to allow user to enter relevant information on each page. On page 3, Save button allow user to save the employee. If user enter a incorrect value in a field on page 1 (something server can only verify) and server reports an error, the default behavior is to display page 1 with error message on top and the relevant field is mark as red. </p>
  
  <p><strong>Problem Statement</strong></p>
  
  <p>Above was all working until recent few build shows a breaking behavior. In above mentioned scenario, on error, the page 2 is displayed instead of page 1. Everything else is working fine like error message is correct, field on page 1 is marked red.</p>
  
  <p><strong>Analysis</strong></p>
  
  <p>I tried looking into pagination logic in java script, reverted back to version changes which was working. I also tried solution proposed <a href="https://stackoverflow.com/questions/536739/html-antiforgerytoken-causeing-errors-after-upgrading-to-net-3-5-sp1">here</a>, <a href="https://stackoverflow.com/questions/1360078/asp-net-mvc-validation-of-viewstate-mac-failed">here</a>. I also cleared browser cache and reopen it.</p>
  
  <p>Nothing worked.</p>
  
  <p>Then I discovered major changes in UI code base was introduction of AntiForgeryToken(). I removed it from page and controller and everything worked again. I checked AntiForgeryToken() is not throwing exception. </p>
  
  <p><strong>Question</strong></p>
  
  <ol>
  <li>I am not sure how AntiForgeryToken() is affecting pagination code in java script?</li>
  <li>What can I try to know more about the root cause?</li>
  <li>Any proposed solution, remember, can not live without AntiForgeryToken()?</li>
  </ol>
  
  <p>Thanks in advance.</p>