ASP.NET 站点的部分呈现
我有一个 ASP.NET 应用程序,它在其他 ASP.NET 应用程序 中调用 aspx-pages (全部位于同一服务器和同一解决方案上) 。此 aspx 页面应显示在主站点上的(固定)区域中,以便在用户交互期间仅更新嵌入页面。 IFRAME 是实现此目标的唯一方法吗?或者我可以使用 AJAX 更新面板 或是否还有其他可能性/技术。我读过一些关于控件“UFRAME”的内容。也许这就是我问题的解决方案!?!?
I have an ASP.NET application which calls aspx-pages in other ASP.NET applications (all on the same server and the same solution). This aspx-pages should be shown in a (fixed) region on the main-site in that way that that only the embedded pages is renewed, during user interactions there. Is an IFRAME the only way to achieve this goal, or can I use for example the AJAX update-panel or are there further possibilities / techniques. I have read something about the a control "UFRAME". Maybe this is the solution for my question !?!?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果要在另一个页面中显示一个页面,则需要使用框架或 i 框架。如果您有权访问这些其他 ASPX 页面的所有代码,那么最好使用用户控件(ASCX 文件)。然后,您可以轻松地在任意数量的页面中重复使用这些内容。
If you want to display a page within another page, you'll need to use frames or an i-frame. If you have access to all the code for these other ASPX pages though, it would probably be better to use User Controls (ASCX files) instead. You can then easily re-use these in as many pages as you like.