[英]How can I redirect to a Webforms.aspx from a controller MVC?
I have seen many forums and none work for me. 我见过很多论坛,但没有一个适合我。
The way most simple and functional. 方式最简单,最实用。
You can use Redirect for it . 您可以使用重定向。 Call any Action where you want to redirect the page.
在要重定向页面的位置调用任何操作。
public ActionResult AnyAction()
{
//Your code
return Redirect("/UserWebForm.aspx");
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.