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".
精彩评论