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

Find Scroll Element

1 Answer 60 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Mike
Top achievements
Rank 1
Mike asked on 11 Aug 2008, 05:34 PM
How do I find the scroll elements for a TabStrip (the HTML elements of the 'buttons' I click on to scroll the strip)?

1 Answer, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 12 Aug 2008, 08:43 AM
Hello Mike,

You can use the following JavaScript code to get the scroll arrows:

            var tabStrip = $find("<%= RadTabStrip1.ClientID %>");
            var scrollArrowElements = $telerik.getChildrenByTagName(tabStrip.get_levelElement(), "a");

The scrollArrowElements array will contain the scroll image DOM elements.

Regards,
Albert
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
TabStrip
Asked by
Mike
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Share this question
or