RadTabStrip Slide Show

8 posts, 0 answers
  1. Filipe
    Filipe avatar
    4 posts
    Member since:
    Jun 2010

    Posted 07 Jul 2011 Link to this post

    Hi,

    Is that possible to rotate RadTabStrip tabs automatically like a slide show?

  2. Princy
    Princy avatar
    17421 posts
    Member since:
    Mar 2007

    Posted 08 Jul 2011 Link to this post

    Hello Flippe,

    I am not quite sure about your requirement and I suppose you want the rotator functionality.
    If that is the requirement Telerik provides RadRotator control. Take a look at the following demo and documentation for more on this control.
    Overview.
    http://demos.telerik.com/aspnet-ajax/rotator/examples/overview/defaultcs.aspx.

    Please elaborate your scenario if it doesn't help.

    Thanks,
    Princy.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Filipe
    Filipe avatar
    4 posts
    Member since:
    Jun 2010

    Posted 08 Jul 2011 Link to this post

    Hi,

    Yes i want something like rotator but with tabs. In each 5 seconds (per example) switch to the next tab automatically. Is it possible with RadTabSrtip or RadRotator?
  5. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 14 Jul 2011 Link to this post

    Hi Filipe,

    Yes, that should be possible. As you might have noticed, RadRotator has an ItemTemplate which allows you to specify any content, including RadTabstrip and multipageview.


    Best wishes,
    Peter
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  6. Patrik Johansson
    Patrik Johansson avatar
    270 posts
    Member since:
    May 2010

    Posted 03 May 2012 Link to this post

    Picking up on this, I guess what the original poster was after was to have the RadRotator switch active tab each 5 second (or something like that), and I guess that won't happen by itself just because you put it into a RadRotator, right? If not, any recommendations on how to actually achieve this? Is there some kind of "Rotate()" event which could be used? Or is there another way, I guess it all come down to implementing some kind of timer which fires events in which you could then just move to the next tab.
  7. Patrik Johansson
    Patrik Johansson avatar
    270 posts
    Member since:
    May 2010

    Posted 05 May 2012 Link to this post

    Can answer this one myself, the trick is to use a RadAjaxTimer, which will "postback" to the server and then you can just do something like this:

            if (radTabStrip.SelectedIndex < (radTabStrip.Tabs.Count - 1))
            {
                radTabStrip.SelectedIndex += 1;
            }
            else
            {
                radTabStrip.SelectedIndex = 0;
            }

    One thing though, it the Code example from Telerik it is said that the RadAjaxTimer needs to be in a Panel to work, but don't seem to notice any difference if it is in a panel or not, ie it works in both.
  8. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 07 May 2012 Link to this post

    Hello Patrik,

    Thank you for sharing your solution in the forum.

    I assume you have used Ajaxify Timer demo for reference and probably you refer to this part of the description -

    There is a bit tricky part here -- one cannot add the Timer control directly to the AJAX settings as updated control. Instead, just wrap the timer in a container like ASP:Panel and set the container as updated control.

    This condition is needed only if you want to ajaxify controls on the page using RadAjaxManager. I imagine your case is different and hence you don't need the above requirement.


    Regards,
    Peter
    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.
  9. Patrik Johansson
    Patrik Johansson avatar
    270 posts
    Member since:
    May 2010

    Posted 07 May 2012 Link to this post

    Hi Peter,

    We are using the RadAjaxManager
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017