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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:24:14+00:00 2026-05-25T18:24:14+00:00

First of all, I’m using MVVM for this and I would like to continue

  • 0

First of all, I’m using MVVM for this and I would like to continue using it and ofc using the best practices as well.

I have a Mainpage which will display a list of items. On another page you can add such items. The items will be saved in a database which came with the Mango update.

When a item is added I want to navigate back to the mainpage and I want the list to be updated automatically. Is this possible and what’s the best way? I’m thinking of following scenario’s:

  • Use the Refresh query string when you navigate. Check in the back end of your main if there is a refresh. Then send a message 2 the ViewModel that he needs to update his list. I have tried this and this works. But this doesn’t really sound the right way for MVVM.
  • Can’t this be done with the NotifyPropertyChanged event that you can raise on your Database Model ? Or doesn’t it work over different pages?
  • Reload the whole ViewModel for the main page somehow.

Any other idea’s?

  • 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-05-25T18:24:15+00:00Added an answer on May 25, 2026 at 6:24 pm

    Use MVVM-Lights Messenger. The MainViewMode can subscribe to a Refresh event and the ViewModel where the items are added can publish a Refresh event.

    This is a good example of how messenger can be used.

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

Sidebar

Related Questions

First of all, I'm really new to the MVC Asp.Net ideology. I would like
first of all, I'd like to explain why i need this. i need to
First of all (in case this is important) I'm using ActiveState's Perl (v5.8.7 built
First of all, my table structure is something similar like this: CREATE TABLE Testing(
First of all, I would like to ask, CAN YOU integrate Bing Maps within
First of all, I found this: Objective C HTML escape/unescape , but it doesn't
First of all, I'm using Windows, just to make that clear. I am using
first of all: this is not the same as this . The ModelBackend has
First of all, excuse my poor topic title. I simply have no idea how
First of all, before I begin, I am using VC++ 2008 professional, running an

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.