简体   繁体   English

如何在面板/视图中显示aspx页面?

[英]How to display aspx page inside a Panel/View?

So I have my main page with buttons on top of it. 所以我的主页上有按钮。 Below there's a MultiView (also tried with a Panel) and I want to display a different page (aspx) inside it when a user clicks the button on top of the page. 下面是一个MultiView(也尝试过Panel),当用户单击页面顶部的按钮时,我想在其中显示另一个页面(aspx)。

I've been trying to do this for 2 hours now and can't get this to work... No good info @ Google. 我已经尝试这样做了2个小时,但现在无法正常工作了。。。 Thanks in advance... 提前致谢...

Try user controls instead of pages. 尝试使用用户控件而不是页面。 I am not aware of any case where I ever needed this functionality. 我不知道在任何情况下都需要此功能。

Beside that, I'm rather sure that it is not supported to insert pages into other pages. 除此之外,我相当确定不支持将页面插入其他页面。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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