DataTemplate can't find property from class

Hi,

I have a AutoComplete bound to a collection of CityInfo object. This is my class:



This is the xaml:





So my ViewModel performs the search this way:




This is my problem. For each item in the DataSource collection my DataTemplate can't find the property... What is happening?






3 Replies 1 reply marked as answer

SS Suganya Sethuraman Syncfusion Team July 15, 2020 12:46 PM UTC

Hi Paulo, 
 
Greetings from Syncfusion. 
 
We have prepared the sample based on the code snippet provided and the filter works fine from our end. We have attached the sample with we have ensured, 
 
 
Please check with the sample and if the requirement differs please provide additional details of your requirement which will be helpful for us to provide the solution at the earliest possible. 
 
Regards, 
Rabhia Beham. 
 


Marked as answer

PA paulo July 16, 2020 05:32 AM UTC

Hi!

Looking to your example I saw you used the latest version of syncfusion library. I upgraded mine and it worked. 

Thank you.

You can close this ticket. 


SP Sakthivel Palaniyappan Syncfusion Team July 17, 2020 07:28 AM UTC

 Hi Paulo,

Thanks for the response.


We are glad that the issue is resolved at your end.

Please get back to us if you need any further assistance.

Regards,
Sakthivel P.
 


Loader.
Up arrow icon