This is a migrated thread and some comments may be shown as answers.

CrossFade not working

2 Answers 63 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Chris Badger
Top achievements
Rank 1
Chris Badger asked on 13 Mar 2012, 09:57 PM
Hello,

I am experiencing a problem where the CrossFade animation type does not work if you've created your RadRotator control programmatically, as opposed to decalring it in your markup.  When the control is created programmatically, the CrossFade always reverts to a standard Fade instead.

Can anyone confirm this as an issue?  Telerik.Web.UI.dll version is 2011.1.413.35.

Thanks,

Chris

2 Answers, 1 is accepted

Sort by
0
Accepted
Slav
Telerik team
answered on 16 Mar 2012, 09:40 AM
Hi Chris,

I tried to reproduce the described problem, but without success. You can find attached the sample project that I used to test this scenario. Please compare it with your actual project and check if there are differences in the configuration. I have added a screen capture of the controls' behavior on my end, so that you can verify if I am missing something.

Keep in mind that the properties Width, Height, ItemWidth, ItemHeight of RadRotator should be set in order to configure the control properly. If they are not specified, the described problem will occur. Please check if this is the case and set these properties, if you have not done so already.

Note that currently I am mostly guessing as to what your setup is. If you are still having difficulties after trying the solution above, please open a support ticket and send a modified version of the attachment, which demonstrates the problem. If this is note possible, you can also isolate the issue in a simple, runnable page so that I can examine it locally and suggest an according solution.

All the best,
Slav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Chris Badger
Top achievements
Rank 1
answered on 16 Mar 2012, 06:15 PM
That was it!  I was only specifying Width and Height, not ItemWidth and ItemHeight.  Setting all four of these values fixed the issue.  Odd that all the other transitions effects worked fine with only Width and Height set.

Thanks!

Chris
Tags
Rotator
Asked by
Chris Badger
Top achievements
Rank 1
Answers by
Slav
Telerik team
Chris Badger
Top achievements
Rank 1
Share this question
or