Bug with sfrotator

Hi,

I created a project to show you the bug.

To reproduce the bug please click on the NEXT button.

And go back.

You will see an exception:


Can you please tell me how to fix the bug?

Thanks,

Attachment: ControlSamples_c4fb0a8c.zip

6 Replies 1 reply marked as answer

SP Sakthivel Palaniyappan Syncfusion Team July 10, 2020 11:27 AM UTC

Hi Alexis,

Greetings from Syncfusion.

We have analyzed your query and
the reported issue of Type cast exception will be reproduced only when we are using the DataSource property. On Further analysis of our source the DataSource property is deprecated, so can you please use the ItemsSource property instead of DataSource. We have created sample with ItemSource please find the sample from below.

Sample:
https://www.syncfusion.com/downloads/support/directtrac/general/ze/RotatorSample-2097255284.zip

Please let us know if you have any other queries.

Regards,
Sakthivel P.
 



AL Alexis July 10, 2020 01:20 PM UTC

Thanks.

Is there a way I can only use XAML and define the itemssource only in the xaml?

I tried this below:



But I have the error: No property, BindableProperty, or event found for "ItemsSource", or mismatching type between value and property.

Thanks,

Marked as answer

AL Alexis July 13, 2020 11:02 AM UTC

Any ideas?


SP Sakthivel Palaniyappan Syncfusion Team July 13, 2020 01:01 PM UTC

Hi Alexis,

Sorry for the inconvenience.

Currently we are validating on this and we will update the details on or before July 15, 2020. We appreciate your patience until then.

Regards,
Sakthivel P.
 



SS Suganya Sethuraman Syncfusion Team July 15, 2020 01:25 PM UTC

Hi Alexis, 
  
We have prepared a sample based on your request. In this sample we are set the ContentView as SfRotatorItemContent. 
  
Please get the sample for this the link below. 
  

While using above sample if you navigate the page using Button_Click event it doesn’t navigate to the corresponding page and we confirm this as a bug and logged a defect report. You can keep track of the bug from the feedback portal below.

Link: https://www.syncfusion.com/feedback/16117/unable-to-navigate-to-the-page-using-sfrotatoritem-itemcontent-property  

   
The fix for the reported issue will be available 23rd July ,2020.  
  
If you have any more specification/precise replication procedure or a scenario to be tested, you can add it as a comment in the portal. 
  
Regards, 
Suganya Sethuraman 



SP Sakthivel Palaniyappan Syncfusion Team July 23, 2020 12:43 PM UTC

Hi Alexis,

Thanks for your patience.

After our further navigation analysis, you can navigate from the ContentView to the ContentPage using the following code.

Code Snippet:

 
private void Button_Clicked(object sender, EventArgs e) 
        { 
           (App.Current.MainPage as NavigationPage).PushAsync(new Page1()); 
        } 

We have prepared a sample as per your requirement using a DataSource’s View as a Rotator ItemContent. Get the sample from the link below.

Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/RotatorSample_DataSource_XAML-594908149

Please let us know, if you have any other concerns.


Regards,
Sakthivel P.
 


Loader.
Up arrow icon