A SL Blog request

4 posts, 1 answers
  1. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 18 Jul 2008 Link to this post

    I saw the "Deep Linking" first on the telerik SL sample when I asked Valentin how the URL was changing.

    I was wondering if one of the telerik team members would be kind enough to write a blog with some samples to show how Deep Linking is and should be done.

    Thank you in advance!
  2. DevCraft banner
  3. Ben Hayat
    Ben Hayat avatar
    892 posts
    Member since:
    May 2008

    Posted 19 Jul 2008 Link to this post

    Valentin;

    Thanks for the link; I knew you guys are ahead of my thinking ;-)

    Do we have to use JS in order to control the browser's bookmark? Can it be done directly from managed code in the Silverlight application?

    Secondly, are you aware if MSFT will build Deep Linking into SL framework?

    Thank you for the link!
  4. Valentin.Stoychev
    Admin
    Valentin.Stoychev avatar
    2198 posts

    Posted 21 Jul 2008 Link to this post

    Hello Ben,

    You do not need JS in order to parse the URL and to get the bookmark:
    Here is a code snippet that does this:

    int

    tmp = HtmlPage.Window.CurrentBookmark.IndexOf("Examples/");
    if (tmp > -1)
    {
         string examplePath = HtmlPage.Window.CurrentBookmark.Substring("Examples/".Length);
    ....


    >> Secondly, are you aware if MSFT will build Deep Linking into SL framework?
    No - we have not heart anything from MS for including this functionality into the framework.


    Greetings,
    Valentin.Stoychev
    the Telerik team


    Instantly find answers to your questions at the new Telerik Support Center
Back to Top