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 9102419
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T01:22:50+00:00 2026-06-17T01:22:50+00:00

I’m developing metro app using Windows 8 RTM and C#(VS 2012 RTM), I’m stuck

  • 0

I’m developing metro app using Windows 8 RTM and C#(VS 2012 RTM), I’m stuck with page reload,
Can any one explains me how to reload page with out navigating to same page again.
Brief: I’m developing metro app with multilingual support. When user selects the language I’m overriding primary language by below code

Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride = "de";

and reload the page by using this code

this.Frame.Navigate(this.GetType());

Language changed to “de”,But when i press “Back” on page its navigating same page instead of navigating to previous page.Did i miss something, Can someone please explains me how to do this. Thanks in advance

  • 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-17T01:22:51+00:00Added an answer on June 17, 2026 at 1:22 am

    This will refresh your page:

    var _Frame = Window.Current.Content as Frame;
    _Frame.Navigate(_Frame.Content.GetType());
    _Frame.GoBack(); // remove from BackStack
    
    • Handling OnNavigatingFrom() you can save your page’s data and state.
    • Handling OnNavigatingTo() you can load your page’s data and state.

    As a caveat, my sample does not account for page parameters, you may need to.
    Also, another caveat, my sample reloads your page twice. But the GoBack() is necessary to remove the new entry from the BackStack. Unlike WP, Frame does not have Refresh(). Also, the BackStack does not have Remove().

    UPDATE

    I no longer use the above approach. I use this:

    public bool Reload() { return Reload(null); }
    private bool Reload(object param)
    {
        Type type = this.Frame.CurrentSourcePageType;
        if (this.Frame.BackStack.Any())
        {
            type = this.Frame.BackStack.Last().SourcePageType;
            param = this.Frame.BackStack.Last().Parameter;
        }
        try { return this.Frame.Navigate(type, param); }
        finally { this.Frame.BackStack.Remove(this.Frame.BackStack.Last()); }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm making a simple page using Google Maps API 3. My first. One marker
That's pretty much it. I'm using Nokogiri to scrape a web page what has
We're building an app, our first using Rails 3, and we're having to build
I am using Paperclip to handle profile photo uploads in my app. They upload
I am reading a book about Javascript and jQuery and using one of the
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a jquery bug and I've been looking for hours now, I can't
Basically, what I'm trying to create is a page of div tags, each has
I am using JSon response to parse title,date content and thumbnail images and place
I am trying to find ID3V2 tags from MP3 file using jid3lib in Java.

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.