This is a migrated thread and some comments may be shown as answers.

A SL Blog request

3 Answers 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ben Hayat
Top achievements
Rank 2
Ben Hayat asked on 18 Jul 2008, 07:24 PM
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!

3 Answers, 1 is accepted

Sort by
0
Accepted
Valio
Top achievements
Rank 1
answered on 19 Jul 2008, 07:03 AM
0
Ben Hayat
Top achievements
Rank 2
answered on 19 Jul 2008, 12:13 PM
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!
0
Valentin.Stoychev
Telerik team
answered on 21 Jul 2008, 04:29 PM
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
Tags
General Discussions
Asked by
Ben Hayat
Top achievements
Rank 2
Answers by
Valio
Top achievements
Rank 1
Ben Hayat
Top achievements
Rank 2
Valentin.Stoychev
Telerik team
Share this question
or