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

  • SEARCH
  • Home
  • 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 8858415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T14:49:26+00:00 2026-06-14T14:49:26+00:00

I’ve seen several other questions based upon this but no definitive answers when dealing

  • 0

I’ve seen several other questions based upon this but no definitive answers when dealing with Silverlight.

I’m using Silverlight 5 and the navigation framework to navigate between different portions of my application. What I’d like to do is provide deep linking into my application as the user performs actions I’d like to update the url.

I know I can do this by calling NavigationService.Navigate but doing so will reinitialize that entire page and my viewmodel when all I really need to do is allow the user to refresh straight to that view or save a direct link from the address bar.

I know I should be able to use javascript to do this but I’d rather not if there’s a way to do this within Silverlight that anybody knows about.

Further Clarification

One of my pages is a report. This report already has paging functionality. I like to be able to update the URL to #MyReport?Page=2 without actually reloading the page (as like I said paging is already taken care of). I would only need to handle the querystring in the OnNavigatingTo function without fully reloading the page every time they click on something. This would allow the user to copy that Url and put it into an email or wherever they want to put it and other users would go directly to that.

  • 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-14T14:49:27+00:00Added an answer on June 14, 2026 at 2:49 pm

    I don’t see this documented anywhere but when you manually add a hash to the url, it shows up in the address bar as a dollar sign.

    Thus, if I load in to the page: /MyReport the navigation framework puts it into the url bar via the UriMapper as #/MyReport and when they click to go to the next set of data within the report (or filter, or whatever else I decide to make navigable this way) I can tell the navigation service to go to /MyReport#page=2&otherkey=othervalue and the navigation framework will change this behind the scenes to be #/MyReport$page=2&otherkey=othervalue and this WILL NOT reload the page.

    I can then add my custom functionality in the OnNavigatedTo to add extra initialization. When I go to react to this value within the code, it changes that dollar sign back to a hash within NavigationService.CurrentSource.

    I believe this is because silverlight is reacting to the “hashchanged” event within the browser and navigating appropriately. It seems to handle the dollar sign as a way to allow the developer to add a hash without screwing up the navigation.

    Update

    Even though this modifies the url there’s no way to update it based upon the forward/backward navigation. Since the navigation framework is rewriting my # to a $ it’s not doing any navigation as for all intents and purposes we’re still on the same page. Hitting the browser forward/backward will go to the last url but will not trigger any changes so I have to do this manually. This can be done within the FragmentNavigation event on the NavigationService object within the page. When handled appropriately this will allow forward/backward navigation within the same Silverlight page.

    This solution allows for both deep-linking and additional forward/backward navigation without constantly re-initializing page and viewmodel.

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

Sidebar

Related Questions

I know there's a lot of other questions out there that deal with this
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
This could be a duplicate question, but I have no idea what search terms
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I am reading a book about Javascript and jQuery and using one of the
Configuring TinyMCE to allow for tags, based on a customer requirement. My config 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.