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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataSource isn't updated if ItemTemplate is specified.

Thread ID:





149576 Dec 1,2019 10:34 PM UTC Dec 2,2019 10:31 AM UTC Xamarin.Forms 2
Tags: SfComboBox
Imran Shaik
Asked On December 1, 2019 10:34 PM UTC

I am facing a problem with SfComboBox and ItemTemplate. 

If SfComboBox is using an ItemTemplate update the DataSource isn't reflected on the UI. 

I used the example that was given on another thread, but it doesn't work for me because I am using an ItemTemplate for the Sf Combo Box. 

I am using this example, when using with DisplayMemberPath, it work but it doesn't work with ItemTemplate. 

Imran Shaik
Replied On December 1, 2019 10:49 PM UTC

Even the DisplayMemberPath is only working if IsEditableMode = true. 

Here is what I am doing. 

               <comboBox:SfComboBox DataSource="{Binding Countries, Mode=TwoWay}"
                                         Watermark="{extensions:Translate Label.Country}"
                                         SelectedItem="{Binding SelectedCountry, Mode=TwoWay}"
                                         DisplayMemberPath="Name" />
                    <comboBox:SfComboBox IsEnabled="{Binding States, Converter={StaticResource IsNotNullConverter}}"
                                         DataSource="{Binding States}"
                                         Watermark="{extensions:Translate Label.States}"
                                         SelectedItem="{Binding SelectedState, Mode=TwoWay}"
                                         DisplayMemberPath="Name" />

Hemalatha Marikumar [Syncfusion]
Replied On December 2, 2019 10:31 AM UTC

Hi Imran Shaik,


Greetings from Syncfusion.


Query:  ItemTemplate update the DataSource isn't reflected on the UI


We would like to let you know that the reported issue is a known issue, and which occurs while using more than one SfComboBox with DataTemplate in UWP platform. We have fixed this issue internally and please find the patch from the below link


Please find the patch setup from below location:




Please find the patch assemblies alone from below location:




Please find the NuGet from below location:



Assembly Version:




Please note that we have created this patch for version specifically to resolve the following issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.


 Note: Currently we have patch support only to the main and service pack release version, not for weekly nuget release. Then only provided a patch with version.


To Clear the cache:




Follow the below link to clear cache,  



For Mac  


• ~/.local/share/NuGet/Cache  


• ~/.nuget/package  




The fix will be included in our Volume 4 2019 main release which is expected to be rolled out by Mid of December 2019.


Query 2: DisplayMemberPath is only working if IsEditableMode = true


We would like to let you know that the reason for displaying the desired view on second loaded SfComboBox is not because of enabling the IsEditableMode property even If you are setting false for IsEditableMode will also display the same. This strange behavior also occurred with the same root cause of Query 1 issue.


We suggested you to use the provided patch for this issue and let us know whether your reported issues are resolved or not.



Hemalatha M.


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

This page will automatically be redirected to the 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

Live Chat Icon For mobile
Live Chat Icon