开发者

Silverlight set browser URL

开发者 https://www.devze.com 2023-02-07 22:28 出处:网络
I have a silverlight app that i want to set the url of the browser dependi开发者_Go百科ng what is going on in my app.

I have a silverlight app that i want to set the url of the browser dependi开发者_Go百科ng what is going on in my app.

Say the app was hosted on at "http://blablabla.co.uk/product.aspx" and navigate to a product the url would change "http://blablabla.co.uk/product.aspx#product=55"

Can this be achieved though silverlight or javascript?

Thanks


You can't change the browser's URL without redirection. However, you can use anchors "#" and parse them accordingly in your Silverlight code.

For example, "http://blablabla.co.uk/product.aspx#product=55".

0

精彩评论

暂无评论...
验证码 换一张
取 消