Auto Transition Control

7 posts, 0 answers
  1. Bader
    Bader avatar
    215 posts
    Member since:
    Aug 2008

    Posted 07 Dec 2010 Link to this post

    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
  2. Jeff Kershner
    Jeff Kershner avatar
    62 posts
    Member since:
    Aug 2009

    Posted 08 Dec 2010 Link to this post

    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/
  3. DevCraft banner
  4. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 09 Dec 2010 Link to this post

    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
  5. Bader
    Bader avatar
    215 posts
    Member since:
    Aug 2008

    Posted 09 Jan 2011 Link to this post

    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
  6. Miroslav Nedyalkov
    Admin
    Miroslav Nedyalkov avatar
    1718 posts

    Posted 11 Jan 2011 Link to this post

    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>>
  7. Bader
    Bader avatar
    215 posts
    Member since:
    Aug 2008

    Posted 12 Jan 2011 Link to this post

    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
  8. George
    Admin
    George avatar
    1332 posts

    Posted 18 Jan 2011 Link to this post

    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>>
Back to Top
DevCraft banner