阅读背景:

ASP.Net MVC TempData - 如何保持状态

来源:互联网 

We are using ASP.Net MVC TempData to store form data between page refreshes. We have a button on the page that allows the user to perform a certain action. If the user clicks this button one time, it works fine. If they click the button twice, which is allowed, we lose the TempData data. We need to make sure the TempData data is preserved no matter how many times the user clicks the button. By the way, the button activates a URL.Action, and utilizes Ajax.We are using ASP.Net MVC TempData to store form




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: