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

Navigation Like Demo

1 Answer 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Joshua
Top achievements
Rank 1
Joshua asked on 21 Aug 2010, 01:55 AM
Hopefully this isn't asking for "trade secrets"... :)

But, how in the heck is the Telerik silverlight 4 demo system built?  In other words, I see that each control has been placed in its own XAP, but how is the system downloading it AND adding the URL at the top?  I'm able to do one or the other, but not both - either place the .dll in a XAP and use webclient to down load it and then place the control onto a Grid panel OR i can create another XAML page alongside my main app and set it up in the UriMapper. But, again, i can't figure out how to do both... Gee you all are smart :D

I've looked at the demos in VS2010, but I still can't figure it out.

Can you give me a few pointers on the concept?  I'm pretty sure I can write the code if you can point me in the right direction.  I've written in .NET for years, but have only started with Silverlight last week. So, please be clear on your tips.

Thanks so much,
Joshua

1 Answer, 1 is accepted

Sort by
0
Kaloyan
Telerik team
answered on 25 Aug 2010, 12:02 PM
Hi Joshua,

There is nothing special with the online examples framework. About the UriMapper - we are using them like a parser system that is defining which exact view has to be loaded at a specific time. You will find the implementation in the NavigationContainer.xaml located in the QuickStartTheme_SL. This means that we are navigate to an url looking like this - Calendar/FirstLook and the UriMapper will tell us that we have to load the SingleExampleView.xaml page for example. Also we have a ViewModel that acts is a main system brain, telling us weather we need to download and load an xap file or not. Let us know if more clarifications are needed.

Regards,
Kaloyan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
Joshua
Top achievements
Rank 1
Answers by
Kaloyan
Telerik team
Share this question
or