添加Silverlight对象时,在asp.net中停止页面刷新 [英] stop page refresh in asp.net when silverlight object is added

查看:66
本文介绍了添加Silverlight对象时,在asp.net中停止页面刷新的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在创建一个silverlight应用程序,其中我创建了Silverlight的各个页面和一个asp.net页面.我创建了一个silverlight页面作为HOME页面.此页面用作母版页(即在页面的左侧有一个链接到其他页面[喜欢可用的书页,添加书页]).每当用户单击任何链接时,页面更改的中间部分和新页面内容就出现在其中而不会分散链接,这意味着无论您转到哪个位置,链接始终位于左侧没有母版页概念一样的页面.但是我的问题是,当用户单击F5或使用浏览器刷新按钮刷新页面时,它再次从首页开始.
请问是否有人知道可以帮助我解决此问题(即如何刷新浏览器的页面刷新)

I am creating an silverlight application in which i have created various page of silverlight and one asp.net page.i created one silverlight page as HOME page.this page work as master page(i.e on left side of page there is a link to other page[LIKE Available Book page,Add Books Page]).when ever user user click on any link the middle portion of page changes and new page content came there without distracting link means link is always on left side whether u go to nay page just like master page concept.BUT MY problem is that when ever user click F5 or refresh the page using browser refresh button it again start from HOME page.
plz if any one know help me in solving this problem(i.e HOW TO REFRESH PAGE REFRESH OF BROWSER)

推荐答案

这是Silverlight的默认行为,因为它加载了浏览器刷新时的XAP应用程序.从而从主页启动应用程序.

每当用户单击链接,然后在应用程序上加载书签时,您都可以使用书签.然后根据该值直接加载特定的Silverlight页面.
It''s a default behavior of Silverlight as it loads the XAP Application whenever the browser refreshes. Thus starts the application from the Home Page.

You can use bookmarking whenever a user clicks on links and then on the application load check for the bookmark and based on the value directly load the specific silverlight page.


您好,

请参阅以下链接.您可能会有所了解.


http://forums.silverlight.net/forums/p/181594/410612.aspx#410612
Hi ,

kindly see the following link . You may get some idea .


http://forums.silverlight.net/forums/p/181594/410612.aspx#410612


在ajax工具中使用并使用更新面板.


这篇关于添加Silverlight对象时,在asp.net中停止页面刷新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆