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

SlideShowButtons outside the rotator

3 Answers 38 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 13 Dec 2010, 11:35 AM
Hi - my rotator uses "fade" to go between slides. But - I want to have next - prev buttons under the control - not within it. By specifying RotatorType="SlideShowButtons", the left-right buttons are added automatically at the side. Is there any way to have a fade transition and my own custom buttons?

Thanks

3 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 13 Dec 2010, 02:08 PM
Hello John,


RadRotator has rich client side API which allows you to achieve your goal. See the demo.
Rotator / Client-side API 
 
I hope the demo itselef describes all.


Thanks,
Princy.
0
John
Top achievements
Rank 1
answered on 13 Dec 2010, 03:32 PM
Thanks - got it working with custom buttons and fading - cheers. One thing though - for some reason, when I use the buttons, sometimes the image seems to load (or rather become the viewable rotator item) twice. So - I click "Next", the next image fades in and then, as soon as the fade has finished, it does the fade again, with the same image.

Any ideas why?

Thanks
0
Fiko
Telerik team
answered on 16 Dec 2010, 09:51 AM
Hi John,

There are two approaches in order to achieve the desired result
  1. First approach (recommended in your case)
    • Set the RadRotatror's RotatorType property to SlideShowButtons
    • Set external buttons to the control using its ControlButtons inner property:
        .............
         <ControlButtons LeftButtonID="LeftButtonClientID" RightButtonID="RightButtonClientID" />
      </telerik:RadRotator>

  2. Second approach is to use the client-side api of the control (as suggested by Princy) and implement your custom behavior. I do not recommend this approach in your case, however, because I believe that the first one will fit your needs and there is no need to implement a custom solution.

Best wishes,
Fiko
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Rotator
Asked by
John
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
John
Top achievements
Rank 1
Fiko
Telerik team
Share this question
or