简体   繁体   中英

Returning other page after upload image in mvc3 using c#?

我在一个视图中使用2个模型,一个模型在表单中显示,另一个模型也在使用表单但它显示在div标签中,因此在上传图像后弹出窗口正在关闭但我需要显示弹出的数据?

Simply returning another page can be accomplished by returning a RedirectResult from your action method:

return Redirect("url");

If that's not what you're looking for, then you'll need to be a bit more specific with your question, as it's not entirely clear what you are trying to do.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM