sfPicker fails in UWP only

Hi, I have successfully implemented the sfPicker in Xamarin Forms for my IOS and Android projects and it works perfectly. 
However for UWP, the page it is on will not render at all when it appears - blank white screen.
I have followed the instructions at https://help.syncfusion.com/xamarin/picker/gettingstarted for UWP, also tried the Release Mode fix in case that would help, but for both release and debug I have this problem. 
I am wondering if there is some sort of simple solution that others may have come across for this problem.
I'm using the community edition, and VS2017 Community. 

I use UWP for the convenience,  I don't release the UWP app to anyone, but it's really nice to use for general debugging and I'd hope there is a solution.
Thanks for any ideas,
John


5 Replies

RS Ruba Shanmugam Syncfusion Team April 10, 2020 11:20 AM UTC

Hi John,

Greetings from Syncfusion.

We have checked the reported issue “SfPicker is not rendering on UWP” and found that the reported issue reproduced only on Xamarin.Forms version 4.5 and works fine on Xamarin.Forms version 4.4 and below.
 
Please find the tested sample from below link.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Picker_GettingStarted-429930435  

Could you please share which Xamarin.Forms version that you are using in your application? This will be helpful for us to investigate further and provide better solution at earliest.

Regards,
Ruba Shanmugam 



JO John April 10, 2020 04:58 PM UTC

Thank you for your quick reply. 

I am not completely sure but from the Help-About in VS it may say I have Xamarin 4.12.3.83.  Details below.
Also, the link you supplied points to a zip file that may be corrupted, I cannot open it. 
Again, I appreciate you help with this.
-John



Microsoft Visual Studio Professional 2017
Version 15.9.21
VisualStudio.15.Release/15.9.21+28307.1064
Microsoft .NET Framework
Version 4.8.03752
Installed Version: Professional
Visual C++ 2017   00369-60000-00001-AA706
Microsoft Visual C++ 2017
Application Insights Tools for Visual Studio Package   8.14.20131.1
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2017   15.9.04012.0
ASP.NET and Web Tools 2017
C# Tools   2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Extensibility Message Bus   1.1.49 (remotes/origin/d15-8@ee674f3)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.
JavaScript Language Service   2.0
JavaScript Language Service
JavaScript Project System   2.0
JavaScript Project System
JavaScript UWP Project System   2.0
JavaScript UWP Project System
Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package
MLGen Package Extension   1.0
MLGen Package Visual Studio Extension Detailed Info
Mono Debugging for Visual Studio   4.13.12-pre (9bc9548)
Support for debugging Mono processes with Visual Studio.
NuGet Package Manager   4.6.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info
ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info
Syncfusion Xamarin Project Templates   13.4.0.53
A multi-project template for building iOS, Android, and Windows apps using Syncfusion Xamarin components.
Syncfusion Xamarin Toolbox   16.2.0.19
Syncfusion Essential Studio for Xamarin Toolbox Visual Studio extension.
SyncfusionMenu Extension   1.0
SyncfusionMenu Visual Studio Extension Detailed Info
TypeScript Tools   15.9.30718.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools   2.10.0-beta2-63501-03+b9fb1610c87cccc8ceb74a770dba261a58e39c4a
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 10.2 for F# 4.5   15.8.0.0.  Commit Hash: 6e26c5bacc8c4201e962f5bdde0a177f82f88691.
Microsoft Visual F# Tools 10.2 for F# 4.5
Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for Universal Windows Apps   15.0.28307.1062
The Visual Studio Tools for Universal Windows apps allow you to build a single universal app experience that can reach every device running Windows 10: phone, tablet, PC, and more. It includes the Microsoft Windows 10 Software Development Kit.
VisualStudio.Mac   1.0
Mac Extension for Visual Studio
Xamarin   4.12.3.83 (d15-9@23fa80172)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer   4.16.30 (e0af99a34)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates   1.1.128 (6f5ebb2)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK   9.1.7.0 (HEAD/ba9da7a76)
Xamarin.Android Reference Assemblies and MSBuild support.
Xamarin.iOS and Xamarin.Mac SDK   12.4.0.64 (9c8d8e0)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.


JO John April 10, 2020 05:08 PM UTC

OK, an update.  While I was unable to use the zip you pointed me to, I was able to build and run the one from https://help.syncfusion.com/xamarin/picker/gettingstarted
and it worked fine in UWP.  This is making me suspect if the problem is in my own code, at least the UWP part of it.
I will continue to investigate to see why my own program is not working with UWP.
So until then, you might want to hold off unless you are aware of an issue.

Thanks again
John




JO John April 10, 2020 05:21 PM UTC

OK - it looks like the difference between your working program and my failing one is the way the itemsource binding is set up.  I was setting up theitemsource in code while yours was in the XAML.  While I havent got my items to display yet (I will), I know how (I think) and it looks like this is completely my problem, not yours.

Thanks so much for your time and attention.  You can consider this as a non-problem.

-John





SP Sakthivel Palaniyappan Syncfusion Team April 13, 2020 08:36 AM UTC

Hi John,

Thanks for the update and we are glad to know that issue has been resolved. Please get back us, if you need any further assistance on this.

Regards,
Sakthivel P.
 


Loader.
Up arrow icon