阅读背景:

在ASP.NET MVC中动态添加ViewUserControl

来源:互联网 

I am wondering if there are any known issues with adding a ViewUserControl at run time (to a ViewPage). It works fine if I add the control declaritively but not if I add the control programmatically (in the code behind file in this case). I don't get an error, it just does not render the control but stepping through the debugger does confirm that the relevant methods in the page life cycle are being called.I am wondering if there are any known issues wi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: