We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem in programatically setting the selecteditem (Implementing MVVM Pattern)

Thread ID:





129111 Feb 28,2017 07:47 AM UTC Mar 1,2017 01:48 PM UTC WPF 1
Tags: SfMultiColumnDropDownControl
Darwin Cyril Turingan
Asked On February 28, 2017 07:47 AM UTC

Good day

I'm stuck in this problem for 4 days and here's the problem:

at the initialization of the ViewModel,I've set the the collection that will be filled with data(let's give it a name of "CountryCodeList") that is binded to the ItemsSource Property of my SfMultiColumnDropDownControl and the "SelectedCountryCode" Property that is binded to the SelectedItem Property is given with an instance with a value on it. But unfortunately my SfMultiColumnDropDownControl can't reveal automatically the value of SelectedCountryCode even if in it's ViewModel it has a instance with a value

Note: I'm implementing NotifyPropertyChange and a binding in "Mode=TwoWay" and "UpdateSourceTrigger=PropertyChanged"

I hope you can help me on this thing. Thanks


Muthukumar Kalyanasundaram [Syncfusion]
Replied On March 1, 2017 01:48 PM UTC

Hi Darwin, 
Thank you for contacting Syncfusion support. 
We have analyzed your query. We are unable to reproduce your reported “Problem in programatically setting the selecteditem”. In this sample, we have select the item using MVVM pattern where we change the SelectedItem property in ViewModel.   
If your requirement is different from this, please revert by modifying the attached sample based on your application along with the replication procedure? This would be helpful to provide an appropriate solution.    
Please let us know if you have any query. 
Muthukumar K 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon