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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T19:14:54+00:00 2026-05-21T19:14:54+00:00

I implemented an application, i use a combobox, and this combobox is filled with

  • 0

I implemented an application, i use a combobox, and this combobox is filled with items out of a xml file. This works fine. Binding is:

 <ComboBox ItemsSource="{Binding Source={StaticResource Vakken}}" DisplayMemberPath="@Name" Height="23" HorizontalAlignment="Left" Margin="215,67,0,0" Name="comboBox1" VerticalAlignment="Top" Width="120" SelectionChanged="comboBox1_SelectionChanged" />

But i also have a button, which allows the user to add an item to the xml file. It works perfectly to add a item to the xml file( so the writing method works) but the changes are not committed in the combobox. So is there anyway to refresh this combobox or something like that. Because the item which i just added, doesn’t stand in the combobox?

  • 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-21T19:14:55+00:00Added an answer on May 21, 2026 at 7:14 pm

    XML manipulation is something i would try to avoid, it’s a very nice format for small data-transfer and nice to parse from and serialize to and all that but it’s not native to the programming language and framework at hand.

    I would parse the XML to an ObservableCollection<T> once, if you bind to that your ComboBox will be updated (and you could in turn even update the XML if you must by subscribing to the CollectionChanged event and serializing the collection back to XML).

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

Sidebar

Related Questions

Hello I've just implemented a search option on my application use this on the
I implemented a WPF application which use NavigationService to navigate between pages. When I
I've implemented a ReloadableResourceBundleMessageSource in my Spring MVC application which I use to display
I use ANT to run my JDO application example implemented using Datanucleus solution. When
In an application I'm working on I've implemented a MVC pattern to use different
I have implemented my Server application regarding this post here: http://www.codeguru.com/csharp/csharp/cs_network/sockets/article.php/c8781#Client1 Sum up: I
In a single-threaded application I use code like this: Interface function GetNextUID : integer;
I'd like to use C# to implement an application that can play multiple audio
I have a VB6 application implemented as an ActiveX exe. I also have a
I'm working on a real time application implemented using in a SOA-style (read loosely

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.