Transition Control to Change the user control after some time interval

4 posts, 1 answers
  1. Nikhil
    Nikhil avatar
    11 posts
    Member since:
    Apr 2011

    Posted 28 Jun 2011 Link to this post


    I have 2 Silverlight user controls added in the page. i want to show them at the same place in the page. like at start control1 will be displayed and after some time Control1 will be collapse and control 2 will be displayed. For transition purpose i am want to use Rad Transition control. I tried to do that but somewhere i am failing to add those controls to Transition control.
    Could you please help me.
  2. Answer
    Ivo avatar
    390 posts

    Posted 30 Jun 2011 Link to this post

    Hi Nikhil,

    I would suggest you to check this blog. There is a demo attached to it, so you can examine it. You can place whatever elements you need into the <adRotator:AdsCollection> tag from the demo, for example:
        <Button Content="1" Width="60" Height="60"/>
        <Button Content="2" Width="60" Height="60"/>
        <Button Content="3" Width="60" Height="60"/>
        <Button Content="4" Width="60" Height="60"/>

    Hope this helps.

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Sam
    Sam avatar
    23 posts
    Member since:
    Oct 2011

    Posted 24 Apr 2012 Link to this post

    Hi Nikhil,

    I used this AdCollection class that you mentioned below and it works like a charm!

    Now...I have a collection of UserControls (views) that I am using the Transition Control to cycle through. They are defined as such:

    <telerik:RadTransitionControl x:Name="radTranstionControl" 
                  VerticalAlignment="Center" HorizontalAlignment="Center">
                    <BackEase EasingMode="EaseInOut" Amplitude="1" />
                    <telerikTransitions:PixelateTransition />
                        <RadChartViews:PriorityTicketView />
                        <RadChartViews:TotalElapsedOpenTicketsView />

    You can see my views being added to the ChartsCollection object. These views contain RadCharts. If you want me to post this to the RadChart forum, I will. But since this has to do with a subject found here (and I am using the Transition Control), I posted it here.

    Anyway, my problem is these views get instantiated in order to put them into the collection. When you cycle through, the first chart displays fine. All subsequent charts display default data only regardless of how I programmatically create and databind them.

    My question is, what is the best way to see if a RadChart has been simply created (i.e. new RadChart() ) and contains dummy data or if it has real data in it?

  4. Ivo
    Ivo avatar
    390 posts

    Posted 27 Apr 2012 Link to this post

    RadChart does not display default data, so if a chart displays any data, it has been populated. You can peek the value of RadChart.DefaultView.ChartArea.DataSeries in order to check what data is currently displayed by the chart, but the bottom line is that if RadChart displays data, it has been put there.

    All the best, Ivo
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top