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

RadTabStrip Slide Show

7 Answers 63 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Filipe
Top achievements
Rank 1
Filipe asked on 07 Jul 2011, 11:53 AM
Hi,

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

7 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 08 Jul 2011, 07:11 AM
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.
0
Filipe
Top achievements
Rank 1
answered on 08 Jul 2011, 09:55 AM
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?
0
Peter
Telerik team
answered on 14 Jul 2011, 09:18 AM
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!

0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 03 May 2012, 05:20 PM
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.
0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 05 May 2012, 02:53 PM
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.
0
Peter
Telerik team
answered on 07 May 2012, 04:07 PM
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.
0
improwise
Top achievements
Rank 1
Iron
Iron
answered on 07 May 2012, 04:09 PM
Hi Peter,

We are using the RadAjaxManager
Tags
TabStrip
Asked by
Filipe
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Filipe
Top achievements
Rank 1
Peter
Telerik team
improwise
Top achievements
Rank 1
Iron
Iron
Share this question
or