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

Auto Transition Control

6 Answers 232 Views
TransitionControl
This is a migrated thread and some comments may be shown as answers.
Bader
Top achievements
Rank 1
Bader asked on 07 Dec 2010, 01:30 PM
Hello,

I'm wonder if I can make the transition control (based on http://demos.telerik.com/silverlight/#TransitionControl/FirstLook) display the images automatically, in other words, the image must be changed every few seconds without clicked the previous and next buttons

Please, If it possible tell me how can I do that,
It is appreciated to send me the modified code based on the above demo.

Regards,
Bader

6 Answers, 1 is accepted

Sort by
0
Jeff Kershner
Top achievements
Rank 1
answered on 09 Dec 2010, 02:35 AM
I just did this today.  It took me a long time to figure out as I am a little new to Silverlight.  Check out my BLOG for a full description:
http://www.jeffkershner.com/2010/12/08/radtransitioncontrol-automatic-slide-show/
0
Miroslav Nedyalkov
Telerik team
answered on 09 Dec 2010, 11:03 AM
Hi Everybody,

 I'm attaching a demo that demonstrates how to create a slide show with the RadTransition control and the RadCoverFlow control.

Hope this helps!

Regards,
Miroslav Nedyalkov
the Telerik team
Browse the videos here>> to help you get started with RadControls for Silverlight
0
Bader
Top achievements
Rank 1
answered on 09 Jan 2011, 10:23 AM
Hello,

Thank you for your reply,
I have a problem with your application. Maybe because I'm new to Silverlight.
Please, view the attached images in order to get a better understanding of the problem.
I'm not sure if I need to add other references to the projects. If so, please explain.

Please, I need your help.

Regards,
Bader
0
Miroslav Nedyalkov
Telerik team
answered on 11 Jan 2011, 01:47 PM
Hello Bader,

 The errors on your screenshots look like that are in the WPF projects. Could you please try to delete or unload them from the solution. If this doesn't help please double check the references to the Telerik.Windows.Controls.dll and Telerik.Windows.Controls.Navigation.dll assemblies - are they pointing to the same folder, are the assemblies actually in this folder, is the version of the assemblies correct.

Hope this helps!

Greetings,
Miroslav Nedyalkov
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
0
Bader
Top achievements
Rank 1
answered on 12 Jan 2011, 01:52 PM
Hello,

Thank you, It is working now.
I have another four questions.
1) Depending on the sample application which you attached before, can I display the images which are displayed using the RadTransitionControl in another mode, in other words, I need to display the first two images in MotionBlurredZoomTransition and the next two images in MappedLightTransition and the rest are displayed in PerspectiveRotationTransition.

2) I'm trying to display *.gif images using the RadTransitionControlcontrol. But for unknown reason, it is not working. Here is my code:
<telerik:RadTransitionControl adRotator:AdRotatorExtensions.ItemChangeDelay="0:0:3" 
                                adRotator:AdRotatorExtensions.CurrentSelectedIndex="0"
                                VerticalAlignment="Center" Grid.Row="0" Grid.Column="1"
                                HorizontalAlignment="Center" 
                                Width="476" Height="85">
            <telerik:RadTransitionControl.Transition>
                <telerik:MotionBlurredZoomTransition />
            </telerik:RadTransitionControl.Transition>
            <adRotator:AdRotatorExtensions.ItemsSource>
                <adRotator:AdsCollection>
                    <Image Height="85" Source="Banners/1.gif" />
                    <Image Height="85" Source="Banners/2.gif" />
                    <Image Height="85" Source="Banners/3.gif" />
                </adRotator:AdsCollection>
            </adRotator:AdRotatorExtensions.ItemsSource>
        </telerik:RadTransitionControl>

Can you expolain to why is that? and how can I solve the problem?
 
3) How to display the images in the RadCoverFlow without a break? , in other words, the first image must be disblayed immediatly after the last imaga and so on .
 
4) Please view the attached image. How can I remove the mirror from the items (The selected reflection in red)?

Please, I need your help,
It is appreciated to send me the modified code.

Regards,
Bader
0
George
Telerik team
answered on 18 Jan 2011, 12:10 PM
Hi Bader, 


Straight to your questions:

  1. You could achieve this using several transition controls. You could display the all 6 images in 3 transition controls. The RadTransitionControl could apply only one transition for his items.
  2. The Image control displays only .jpg and .png files. Gif file format is not supported.
  3. This is not an easy task. You could achieve this manually. I would suggest you to append the first item at the end of your collection when the last item is reached. You need to do this in your ViewModel.
  4. I would suggest you to set IsReflectionEnabled property to False. For more information, please refer to our online demos - http://demos.telerik.com/silverlight/#CoverFlow/Configurator


All the best,
George
the Telerik team
Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Tags
TransitionControl
Asked by
Bader
Top achievements
Rank 1
Answers by
Jeff Kershner
Top achievements
Rank 1
Miroslav Nedyalkov
Telerik team
Bader
Top achievements
Rank 1
George
Telerik team
Share this question
or