ASP.NET 站点的部分呈现

发布于 2024-09-11 09:43:32 字数 281 浏览 1 评论 0原文

我有一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

世界等同你 2024-09-18 09:43:33

如果要在另一个页面中显示一个页面,则需要使用框架或 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文