I\'m working on an ASP.NET MVC 3 web application, where i use TempData to store a model object, in the scenario where the user is not logged in.
In a controller action I receive a variable from a redirect in a TempData variable public ActionResult ChangePassword()
I\'m using TempData to show a message to the user. I put a string in the TempData and later I read the string, and if it is not empty, then I show a DIV that contain the message.
I\'m developing a messaging system on a website. When user sends a message, she is redirected to inbox?status=sent which displays a neat status Message sent.
In ASP.NET MVC, there\'s a TempData which can pass data one time from one page to anothe开发者_运维问答r.What\'s the equivalent for this in ASP.NET?There is no direct equivalent (that is, data that is
I\'d like to change the TempDataProvider in an ASP.NET MVC3 application... I know I can do this on each controller by overriding CreateTempDataProvider... but I was wondering if there is a way to do t
Most of my action methods return PartialViews on success and RedirectToAction results on failure. For that, I would like to copy the model state errors into TempData so I could display开发者_C百科 the
I have an ASP.NET MVC project which uses TempData to carry an object from one controller action to another - which is in fact the same action but a version that accepts HTTP posts.
I am trying to use the CookieTempDataProvider in MVC 3 futures assembly. I believe I have \"wired\" it up successfully using ninject. Below is the code from my app_start.cs file:
I\'m trying to build a custom action filter which grabs the incoming model out of the filter context, adds it to tempdata, then does \"other stuff\".