In UWP the rendere does not work

I have installes the last version of Autocomplete version 16.2.0.50, in android i see the component in uwp the render does not work
Here below the piece of xaml

<autocomplete:SfAutoComplete x:Name="Com" DisplayMemberPath="Descriz" DataSource="{Binding Comuni}" SuggestionMode="Contains" AutoCompleteMode="Suggest" Text="Comune" TextColor="{StaticResource Primary}"/>

Best 
Alberto C.

13 Replies

PA Paul Anderson S Syncfusion Team September 6, 2018 11:02 AM UTC

Hi Alberto, 
 
With the given code snippet, we prepared a sample and tested the sample in the latest version (16.2.0.50). We are unable to reproduce the reported issue from our side in UWP. Please find the sample from the below link. 
 
 
Please check our sample and if the issue is reproduced in your side, please modify our sample to replicate the issue. So that we can appropriate solution for the reported issue. 
 
Regards, 
Paul Anderson 



AL Alberto September 6, 2018 01:20 PM UTC

I have attached a file in order to show the problem.
It is an image.

Attachment: Autocomplete_not_visible_2384360.rar


PA Paul Anderson S Syncfusion Team September 7, 2018 06:26 AM UTC

Hi Alberto, 
 
Thanks for the information. 
 
We have created a sample as like you code snippet. We are unable to reproduce the reported issue “Autocomplete not renderer in UWP”. Could you please check the Solution Configurations mode is set as Debug or Release mode. If Release mode means you need to add the following line at App.Xaml.cs in UWP project for rendering 
 
List<System.Reflection.Assembly> assembliesToInclude = new List<System.Reflection.Assembly>();  
// Add all the renderer assemblies your app uses assembliesToInclude.Add(typeof(Syncfusion.SfAutoComplete.XForms.UWP.SfAutoCompleteRenderer).GetTypeInfo().Assembly);  
// Replace the Xamarin.Forms.Forms.Init(e);  
Xamarin.Forms.Forms.Init(e, assembliesToInclude);  
 
 
 
And make sure your BindingContext. In that given image you set items in the AboutView class but in xaml page you set the BindingContext as AboutViewModel class. 
 
If still persist the same issue means, please check the given sample and modify the sample which replicate the reported issue. 
 
 
Please let us know if you have any other concern. 
 
Regards, 
Paul Anderson 



AL Alberto September 7, 2018 07:47 AM UTC

Hi Paul,

i have found the problem, seems the rebuild of visual studio does not delete all file and substitute with update version so i delete obj  and bin folder and then build and all work correctly.

Best,
Alberto C.


PA Paul Anderson S Syncfusion Team September 7, 2018 08:36 AM UTC

Hi Alberto, 
  
Thanks for the update. 
  
We are glad that your reported issue has been resolved. Please get in touch if you required further assistance. 
  
Regards, 
Paul Anderson 



AL Alberto September 10, 2018 08:15 AM UTC

I thought to have solved the problem but not.

Otherwise a recreate the problem with my project so i attach the rar file with the piece of project so that you can have the project and all reference to test the error.

Best regards
Alberto C.

Attachment: iMioMobile_Order_Test_ff486b45.rar


PA Paul Anderson S Syncfusion Team September 10, 2018 10:35 AM UTC

Hi Alberto, 
 
Thanks for the update. 
 
We have checked your sample provided in both Debug and Release mode. Deploying the Application in Debug mode rendered the AutoComplete control and in Release mode the control is not rendered and a black space is seen instead of AutoComplete. 
 
On further investigation, we found that the Assembly that need to be included in the App.xaml.cs file has been commented out for SfAutoComplete alone which is needed for Release mode to get the control rendered. 
 
 
 
We have uncommented the above line and the control gets rendered as like in Debug mode. Can you please do the modification and check at our end and let us know. 
 
Regards, 
Paul Anderson 



AL Alberto September 10, 2018 12:14 PM UTC

I dont' have problem of render but the itemsource seems to be null so i can't search in the list the value whule i write e word



Attachment: RisultatiAutocomplete_4aa454c2.rar


PA Paul Anderson S Syncfusion Team September 10, 2018 12:27 PM UTC

Hi Alberto, 
 
We are able to reproduce the reported empty suggestion box with SfAutoComplete at our end. We can workaround the sample to achieve your requirement by having a temporary collection and assign it to the ViewModel property as in the below screenshot. 
 
 
 
Please let us know if you have any concerns. 
 
Regards, 
Paul Anderson 



AL Alberto September 10, 2018 12:47 PM UTC

Seems that i cannot workaround with this solution so i wait your fix.

Alberto C.


PA Paul Anderson S Syncfusion Team September 10, 2018 12:56 PM UTC

Hi Alberto, 
  
Thanks for the update. 
  
We have attached the working sample from our end. We will fix the issue and will included in our Volume 3 SP1 release which will be in the end of October 2018. 
  
  
Regards, 
Paul Anderson 



TU Tushar January 24, 2020 08:58 AM UTC

Hi there,

I am facing the same issue. It is working fine in android but not in UWP. "DataSource" is not updating (Rendering into the UI). I can see in the debug mode that DateSource have a list of observableCollection but UI is showing "No Result found" Text.


I am on the latest version of Syncfusion package and Xamarin.Forms.


HM Hemalatha Marikumar Syncfusion Team January 27, 2020 11:47 AM UTC

Hi Tushar,

Greetings from Syncfusion.

We have analyzed your query and checked the reported issue with latest Syncfusion Nuget version 17.4.0.44, but we were unable to reproduce the reported issue in UWP. Sample we tried that can be download from below.

Sample link:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/AutoCompleteSample1444254587.zip

Can you please update complete code snippet or modified sample with reported issue. It will be helpful for us to investigate more and provide better solution at the earliest.
 
  
Regards, 
Hemalatha M. 


Loader.
Up arrow icon