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

Scroll buttons are not displayed on TabStrip

1 Answer 64 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Janna Malikova
Top achievements
Rank 1
Janna Malikova asked on 25 Oct 2010, 05:35 AM
I have very basic code and scroll buttons are not displayed. Client side events are not working either (I've tried) :-(

My Telerik version is 2010.2.713.35

here's my code
function Repaint(sender, args)
{
    //this function never fires
    var tabstrip = $find('<asp:Literal ID="litTabPages" runat="server" Mode="PassThrough" />');
    tabstrip.repaint();
 
}
<telerik:RadTabStrip ID="tabPages" runat="server" Skin="Default" ScrollChildren="True"
ScrollButtonsPosition
="Left" Width="300px" OnClientLoad="Repaint">
            
</telerik:RadTabStrip>

tabs are added dynamically in code. (there are enough tabs for scroll to show up)
please, suggest a solution

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 25 Oct 2010, 09:28 AM
Hello Janna,

You should use the tabstrip ID in $find method to get its client-side object:

var tabstrip = $find("litTabPages");

also please use a different method for the event handler. More information about client-side API of RadTabStrip can be found here.

Greetings,
Yana
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
Tags
TabStrip
Asked by
Janna Malikova
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or