Tab scrolling doesn't work correctly.

2 posts, 0 answers
  1. shunman
    shunman avatar
    77 posts
    Member since:
    Jul 2011

    Posted 05 Dec 2011 Link to this post

    Hello Telerik team.

    I have a problem with Tab scrolling.
    I dynamically created Radtab on the RadTabStrip by Button Click event.
    The Last Created Radtab does not appear RadTabStrip Area. It's in Second Row.
    I have tested latest version. Q3 version. It still has problem.

    I captured Screenshot and attaching source code.

    <%@ Page Language="VB" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="OnlyTab._Default" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
    <head runat="server">
        <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
        <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
                <%--Needed for JavaScript IntelliSense in VS2010--%>
                <%--For VS2008 replace RadScriptManager with ScriptManager--%>
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
                <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        <script type="text/javascript">
            //Put your JavaScript code here.
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
        <asp:Button ID="Button1" runat="server" Text="Button" /><br />
            <telerik:RadTabStrip ID="RadTabStripContent" runat="server" ScrollChildren="true" dir="LTL" Visible="true" Height="27" Width="100%" >
                <asp:Label ID="LabelTabName" runat="server" Text='<%# DataBinder.Eval(Container, "Text") %>' />
                <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/DeleteTab.gif" onclick="javascript:alert('hi hello greeting');" />
        <telerik:RadMultiPage ID="RadMultiPageContent" runat="server" />

    Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
            Label1.Text = (RadTabStripContent.Tabs.Count + 1)
            Dim tab As RadTab = New RadTab
            tab.Text = "RadTabTest" + (RadTabStripContent.Tabs.Count + 1).ToString()
            tab.Selected = True
        End Sub
  2. Bozhidar
    Bozhidar avatar
    1192 posts

    Posted 07 Dec 2011 Link to this post

    Hi Shunman,

    Thank you for pointing out this issue to us.
    We've also reproduced the problem and will fix it in our next Service Pack.

    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
Back to Top