Running the Silverlight website

When using silverlight in browser do you still need to switch xaml pages? I am also wondering how to use my encryption class I wrote in C # to validate users in silverlight. Any help would be greatly appreciated!

+1


a source to share


2 answers


If you are using Silverlight 3 Beta, then you are looking for a navigation system that uses Frame and Page controls. There are many tutorials available for this.

In Silverlight 2, the simplest solution is to replace RootVisual with Panel (such as Grid or Canvas) and custom code to switch child elements (usually your own UserControls).



A good tutorial is available at Flawless Code

0


a source


We are using Jesse Liberty's method to switch pages in SL2. This is explained here. Switching Jesse Liberty SL2 page

It also looks or feels like the SL3 does it with the navigation mentioned above.



Note: if you do this, you will need to refer to the back button in the browser - users will exit your SL2 application by clicking the back button. SL3 has built-in support for correct handling and correct response to the back button.

0


a source







All Articles