具有不同 Uris 的所有框架都导航到第一个创建的框架
我以编程方式创建多个 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
http://forums.silverlight.net/forums/p/201018/ 469184.aspx#469184
http://forums.silverlight.net/forums/p/201018/469184.aspx#469184
我假设您的意思是使用隐藏的 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 :)