Web8. sep 2009 · And, if you want to redirect from one area to a controller/view which is not there in the area folder (i.e. in most cases, your front end), you can specify area = "". i.e. return RedirectToAction ("action", "controller", new { area = "" }); Share Improve this answer Follow answered Aug 6, 2012 at 9:08 Suhani Mody 691 6 9 Add a comment 3 Try this Web10. apr 2024 · Here Mudassar Khan has explained with an example, how to redirect to Action method with Model data in ASP.Net MVC Razor. When a Button is clicked, the Model object is populated with values and passed to the RedirectToAction method along with the name of the Controller and its Action method in ASP.Net MVC Razor. TAGs: ASP.Net, …
MVC RedirectToAction 跳转时传参问题 - 尘世书童 - 博客园
Web7. feb 2012 · MVC的RedirectToAction的问题. 1. 悬赏园豆:10 [已关闭问题] 关闭于 2012-02-07 14:08. 遇到一个这样的问题:. 使用强类型的RedirectToAction方式从一个action跳转到另一个action,需要在url中传一个复杂类型,可是发现redirect后url的参数是类型名而不是具体值,可能描述的不清楚 ... Web14. nov 2024 · RedirectToAction函数允许传递一系列的objects,但在实践中发现,这些所谓的objects,并不是真正的objects,调用者 若传递出object reference,接收者得到的都 … reliance term insurance
RedirectToAction to [HttpPost]
Webreturn RedirectToAction("Preview", _pagecontent); 将预览逻辑放在一个单独的方法中,然后调用它: return PreviewLogic(_pagecontent); 您也可以像其他人所说的那样,使 … Web13. dec 2024 · 2 无法在RedirectToAction上传递多个参数 1 如何使用RedirectToAction重定向到页面中的某个位置? 1 'RedirectToAction'再次调用控制器的构造函数吗? 2 RedirectToAction启动新会话 reliance telecom india careers