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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

SfRotator appears only when the orientation of the device is changed

Thread ID:

Created:

Updated:

Platform:

Replies:

148272 Oct 13,2019 02:12 AM UTC Mar 30,2020 11:04 AM UTC Xamarin.Forms 5
loading
Tags: UI Kit
Pat Nadis
Asked On October 13, 2019 02:12 AM UTC

I recently tried the Essential UI kit from Syncfusion for developing ecommerce app, and on the details page of the product is the SfRotator control that only shows the list of product images when the device orientation changes. What might be wrong please?

Yuvaraj Palanisamy [Syncfusion]
Replied On October 14, 2019 06:08 AM UTC

Hi Pat Nadis, 

Thanks for contacting Syncfusion support. 

The mentioned issue is with the Xamarin.Forms NuGet package, you can avoid this issue by updating to the latest Xamarin.Forms version in your application. We are using Xamarin.Forms version 4.3.0.778476-pre1 and we could not reproduce this issue at our end. 

Also, the issue is not reproduced in latest stable Xamarin.Forms version. 

Please let us know if you need any further assistance on this. 

Regards, 
Yuvaraj 


Pat Nadis
Replied On October 14, 2019 03:48 PM UTC

Alright! Thank you for your quick response. I updated to Xamarin.Forms Version 4.2.0.848062 which is the latest stable version my project have access to.
After my update, the SfRotator still doesn't appear until the device orientation is changed. Any other way out!!!

Yuvaraj Palanisamy [Syncfusion]
Replied On October 15, 2019 01:11 PM UTC

Hi Pat Nadis, 
As per your requirement we have prepared a sample with Details page for your reference, but we are not able to reproduce the reported issue at our end. Please find the sample from the below location. 
Also, please give us the following details which is helpful to provide the better solution. 
·       Which platform? 
·       Deploying device with model name? 
·       Syncfusion Nuget package version? 
·       Whether you can took details page by either GitHub or Visual Studio Extension  
Regards, 
Yuvaraj 


Arnd Klocker
Replied On March 27, 2020 05:37 PM UTC

Have you solved this issue? It already exists in the last version:

Syncfusion: 17.4.0.55
Xamarin.Forms: 4.5.0.495
Platform: Android

We us the SfRotator in an DataTemplate!

You can test it with your example, but without the code behind. Remove the following lines from the example, you can't have a x:Name in an DataTemplate. For selecting the right DataTemplate in the rotator you can use a TemplateSelector.

 if (width > height)
 {
      Rotator.ItemTemplate = (DataTemplate)this.Resources["LandscapeTemplate"];
 }
 else
 {
      Rotator.ItemTemplate = (DataTemplate)this.Resources["PortraitTemplate"];
 }


Regards 
Arnd

Divya Venkatesan [Syncfusion]
Replied On March 30, 2020 11:04 AM UTC

Hi Arnd, 
 
We have modified the sample based on the provided details. We are not able to reproduce the reported issue and we have attached the testing sample and video for your reference. Could you please check whether you are able to reproduce the issue in the attached sample?   
   
Sample:  https://www.syncfusion.com/downloads/support/directtrac/general/ze/Sample946422975.zip  
 
Video: https://www.syncfusion.com/downloads/support/directtrac/general/ze/Video1230876741.zip  
   
If not, could you please modify the sample based on your requirement and provide device details which would be more helpful for us to assist you?  
   
Regards, 
Divya Venkatesan 


CONFIRMATION

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