The Template property used with the Rotator control gets hit twice. This should only be hit once. I have confirmed this in UWP.
The result is that the template is added twice. If there are any events fired in the template they are also fired twice due to the duplicate templates loaded.
In my project I had check boxes that would add 1 to a total. After selecting a check box I expected total + 1 but got total + 2. After a lot of investigation I noticed that all templates are added twice which caused the event handler to fire twice and hence the incorrect total.
I have supplied a modified version of one of your test projects. This break point is hit twice when one template is added which is incorrect behavior.
Please see the attached test project.
PS: You should be paying me for all the bugs I am finding in your controls :)
DRDhanasekar R Syncfusion Team January 25, 2019 07:31 AM
We were able to reproduce the issue “The Template property used with the Rotator control gets hit twice” and we have created a new support incident to have further follow-ups regarding this. We will assist you through incident under your Direct Trac account.
Our Direct Trac support system can be accessed from the following link:
Has this been fixed? Tested with latest version as of today and it is still a problem.
MSMugundhan Saravanan Syncfusion Team March 20, 2019 09:40 AM
Sorry for the inconvenience.
We have fixed the reported issue and it is not included in our latest version. We will include in our upcoming volume 1 sp-1 package which will be rolled out at end of April 2019.
We will let you know once our Volume 1-Sp-1 package has been rolled out.
Regards, Mugundhan S.
MAMarkApril 23, 2019 06:44 AM
Tested with 188.8.131.52 and it is not fixed yet. Is Volume 1-Sp-1 (including this fix ) still on track to be released this month?
MKMuneesh Kumar G Syncfusion Team April 24, 2019 08:33 AM
We would like to inform you that 184.108.40.206 version is our weekly nuget release, 2019 Vol 1 SP 1 release will be available on mid of May 2019. Please check our SP1 with your application and let us know whether your issue has been resolved.
Muneesh Kumar G.
MAMarkMay 16, 2019 08:52 AM
Still not working with 220.127.116.11....
MKMuneesh Kumar G Syncfusion Team May 17, 2019 01:50 AM
Sorry for the inconvenience caused. We are changing the control architecture to fix this problem, due to this complexity we have not moved the fix in our Vol 1 SP 1 release. We will move the complete tested fix in our upcoming Vol 2 release. Which will be available on end of June 2019.
Muneesh Kumar G.
MAMarkJune 18, 2019 04:53 AM
I have noticed a performance problem so I started to investigate. I updated to latest Nugets and this problem has gotten worse.
This breakpoint is hit X times in each UI project and should only be hit once.
UWP - 2
Android - 4
iOS - 6
I reported it 6 months ago and I am still waiting for a fix. Please get this fix out as a priority as it has been delayed multiple times. This makes the rotator unusable as any event is triggered 1* X times!
Attached is the latest version of my test project.
MKMuneesh Kumar G Syncfusion Team June 19, 2019 05:24 AM
The reported issue of "Getter of template property hit multiple times" is fixed and it will be available in our Volume 2 beta release (Available in end of June, 2019).
·When NavigationStripMode is set as Dots mode, Template will be fetched once in all the platforms.
·When NavigationStripMode is set as Thumbnail mode, Template will be fetched once in UWP and twice in Android and iOS. Because, in UWP we can capture the item's view and use it for Thumbnail. Where as in Android and iOS the template has to be converted to content view size and thumbnail view size separately.
Thanks, Muneesh Kumar G.
MAMarkJune 20, 2019 05:12 AM
After reading your latest post it got me thinking on stopping the template from being loaded more than once.
In my template I have this:
so on the CreateTemplate call I did this hack:
which only allows the template to be loaded on the last call. This solves my problem of multiple templates from being loaded and hence multiple events being fired.
A negative is that the thumbnail is not created. I actually don't care as I wish to replace the thumbnail with an image anyway.
So my questions are:
1. Can I replace the thumbnail with my own image?
2. Can you add an option to stop the thumbnails from being created while still using NavigationStripMode="Thumbnail". This will stop the multiple event firing problem. I will use my own image. Maybe something like NavigationStripMode="Image"
MKMuneesh Kumar G Syncfusion Team June 21, 2019 08:51 AM
Sorry for the inconvenience caused. We currently don't have the support to add separate view for thumbnail.
Alternatively, We have prepared a work around to meet your requirement and the sample with the work around can be downloaded from the below link.