I am adding templates to a rotator on the fly depending on a user
choice. I need a SelectedIndexChanging event to kick in before any
changes are done to the rotator so that I can smoothly add templates.
the moment I add a placeholder template and use SelectedIndexChanged,
but this has a very jarring UI as it is removed and replaced with the
real template. See the video attached below.
Here is my rotator code:
Your forum software is really rubbish!!!!! I fight with it every time I post with double images, or it randomly not wanting to save....
PAPaul Anderson S Syncfusion Team December 3, 2018 10:53 AM UTC
Greetings from Synfusion.
In our current implementation, we have only SelectedIndexChanged event which will be called only after the selected index is changed and currently we don’t have the support for SelectedIndexChanging event. To achieve your requirement of dynamically change the Template there should be an event raised as you mentioned. So, we will consider your requirement as a feature request and logged a feature report.
We don’t have any immediate plans to implement this feature. At the planning stage for every release cycle, we review all open features. We will let you know when this feature is implemented. So, we have added it to our feature request list. This feature "SelectedIndexChanging event in SfRotator" will be available in any of our upcoming release.
MAMarkDecember 3, 2018 11:00 AM UTC
PAPaul Anderson S Syncfusion Team December 3, 2018 11:45 AM UTC
Thanks for the update. Please visit our website perodically for further updates regarding the feature.