具有不同 Uris 的所有框架都导航到第一个创建的框架

发布于 2024-09-19 22:34:18 字数 283 浏览 1 评论 0原文

我以编程方式创建多个 Frame 并将每个 Frame 导航到不同的页面,但所有 Frame 导航到的 Uri首先创建了 Frame,而 Uri 不同。

编辑: 在我的项目中,用户可以从收件箱列表中打开一些项目,并在不同的选项卡中查看每个项目的页面(每个选项卡包括一个框架)。

如果这是不可能的,有什么办法可以实现这一目标吗?

I create multiple Frame programmatically and navigate each Frame to different page, But all of Frames navigate to the Uri of first created Frame while the Uri is different.

EDIT :
In my project user can open some items from his inbox list and view each item's page in different tab(each tab include a Frame).

If this is not possible, is there any way to achieve this?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

夏末染殇 2024-09-26 22:34:18

我假设您的意思是使用隐藏的 iframe 来欺骗浏览器记住 URL?
如果是这样,则单个浏览器页面中不能有多个 Uris。这是浏览器的限制(它会在哪里存储多个 Uris?)。

如果您实际上正在尝试在一个浏览器页面中拥有多个可导航的 Silverlight 应用程序,您能否解释一下您正在尝试解决的问题(因为这是一件不寻常的事情)?

如果您有其他意思,请澄清您的问题(并提供 Xaml/html 等),我将相应地更改我的答案:)

I assume you mean the use of a hidden iframe to fool the browser into remembering URLs?
If so, you cannot have multiple Uris in a single browser page. That is a browser limitation (where would it store multiple Uris anyway?).

If you are actually trying to have multiple navigable Silverlight applications in one Browser page can you please explain the problem you are trying to solve (as that is an unusual thing to do)?

If you mean something else, please clarify your question (and provide Xaml/html etc) and I will change my answer accordingly :)

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