Can you render a (old) asp.net usercontrol in a asp.net mvc 3 website?

蓝咒 提交于 2019-12-25 01:19:51

问题


I was wondering if there is a way to render (non mvc) asp.net usercontrols in a asp.net mvc website.

I have googled it and i am experimenting with it, but haven't found a clear answer (yet).

Any1 has a clear answer on this?


回答1:


You can render them but if they rely on viewstate and postback, they won't work.



来源:https://stackoverflow.com/questions/9191700/can-you-render-a-old-asp-net-usercontrol-in-a-asp-net-mvc-3-website

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!