redirecttoaction
Session State is erased after calling RedirectToAction() in ASP.NET MVC 3
I use a simple sequences: Set a Session State in [HttpGet] method. Redirect to another action using RedirectToAction() in [HttpPost] method.[详细]
2023-04-09 11:06 分类:问答mvc 2 passing a parameter as a QueryString
If I have f开发者_高级运维or example a controller home with a ActionResult videoInfo Home/VideoInfo that pop up a form where put id and after clicking button getinfo it will redirect me to a page wher[详细]
2023-04-05 16:46 分类:问答MVC3 RedirectToAction after postback
With MVC, I hear that it\'s good practice to get back to a \'GET\' action by using RedirectToAction after processing the Http postback. I understand this is so the postback is not repeated should the[详细]
2023-04-03 16:42 分类:问答Redirecting to mobile page in Asp.Net MVC 3
I\'m trying to use a different login page for an Asp.Net MVC application that is modified to fit mobile devices, primarily iPhone/Android. All I basically need is to modify the login view, because the[详细]
2023-03-28 22:05 分类:问答RedirectToAction ignoring Area after routing
I have an Area named \'Subscribers\' and a controller in that area named \'SubscriptionsController\' with two public action methods: Index() and Unsubscribe() where the Unsubscribe() method is passed[详细]
2023-03-13 07:49 分类:问答Hide Route values when using RedirectToAction
[HttpGet] public ActionResult Index() { return View(); } [HttpPost] public ActionResult Index(HomeOfficeViewModel viewModel)[详细]
2023-03-11 23:34 分类:问答MVC3 uri with or without "/" show different response
What is diffe开发者_运维知识库rence between these two paths? http://www.mydomain.com/testmvc3 http://www.mydomain.com/testmvc3/[详细]
2023-03-11 21:17 分类:问答ASP.NET MVC - Pass current GET params with RedirectToAction
I\'m looking for a way to use RedirectToAction while passing along the current request\'s GET parameters.[详细]
2023-03-09 23:34 分类:问答Passing info to another action using RedirectToAction - MVC
I have this action: public ActionResult Report(AdminReportRequest reportRequest, FormCollection formVariables)[详细]
2023-02-27 18:20 分类:问答ASP MVC RedirectToAction passing an array of objects without using ViewData
I have the following method public ActionResult Search(FormCollection form) { 开发者_如何学JAVA.......[详细]
2023-02-23 07:07 分类:问答