How to Handle/Get Bookmark Changed Event?


in sl there neat method called navigatetobookmark in system.windows.browser.htmlwindow class, , off same class you can read current bookmark. note, bookmark is named anchor in url (post # part of uri), though i think meant hold name value pairs (why, don't know?). anyway, since can navigate , read bookmark, i wondering how can capture change in bookmark property. tried hooking into any possible dom events but to no avail, and there no event handler defined in htmlwindow or related classes. ideas how can capture changes in current bookmark?

this bookmark feature has many many great possible uses, like hooking directly into a page in loosely coupled way (i think called deep linking), if can capture changes is!

i don't know how you'd hook changes going cause repost , there security reasons can't monitor or change address bar. i've created example uses facility support linking silverlight application hint @ right state of control (or support button). hope helps some:

http://adoguy.com/2008/03/21/creating_linkable_silverlight_applications.aspx



Silverlight  >  Programming Silverlight with .NET – General



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........