Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8827327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T07:20:45+00:00 2026-06-14T07:20:45+00:00

My Silverlight application has multiple XAML pages. For example, one displays a clock, one

  • 0

My Silverlight application has multiple XAML pages. For example, one displays a clock, one displays a timer. I have buttons to switch back and forth like so:

 private void switchRight(object sender, RoutedEventArgs e)
    {
        this.Content = new Clock();
    }

    private void switchLeft(object sender, RoutedEventArgs e)
    {
        this.Content = new Timer();
    }

I am trying to use the NavigationService to switch back and forth so I can have other pages running in the background rather than creating a new instance each time.

I am trying

NavigationService.Navigate(new uri("/Timer.xaml", UriKind.Relative));

but it doesn’t seem to do anything and I can’t find any good examples to help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T07:20:46+00:00Added an answer on June 14, 2026 at 7:20 am

    Here is a link
    http://blogs.msdn.com/b/dphill/archive/2009/04/28/silverlight-navigation-part-3.aspx ,

    Beside, I think you can use Threading for background processes.i.e.when you start a timer no need to show any xaml.

    But for page instances you need to manage it very carefully otherwise stackoverflow 🙂

    Depending on business rules its hard to decide navigation as being in a web browser.

    We created our own Wizard (with rules). You may create your own NavigationManager. For validation I can offer http://fluentvalidation.codeplex.com/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an existing Silverlight application where Page.xaml has some buttons on it that
I have a Silverlight 4 out-of-browser application with a ScrollViewer that has several RichTextBoxes
In the Silverlight application I have 2 Functions 1st one: private void LoadData() {
I have a Silverlight application which has on it a Canvas. On that Canvas,
My silverlight application has 2 pages, PageA and PageB. Each page is binding to
I have a Silverlight 4 application which has a leaky ViewModel class. I have
In my silverlight application I have two wcf services, that used to be one,
I have a database that is being accessed by a Silverlight application. It has
I have a silverlight application which has a class library project in it. th
I have developed a Silverlight application. It has a button and once it is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.