Behavior issue _ Application hangs...

4 posts, 0 answers
  1. Rohan
    Rohan avatar
    3 posts
    Member since:
    Feb 2007

    Posted 03 Apr 2008 Link to this post

    I have noticed a behavior issue with RadTabStrip Control,  On adding more than 145 items, our application hangs and it goes to  "Not responding mode".  Also If we add more than 95 items to the control, the tab scroll property is not working properly.

    Our client requirement demands populating more than 600 items in the control. Is there any work around to solve the issue?

    -- Code--

    using Telerik.WinControls.UI; 
    namespace Telerik_Tab
    {
    public partial class Form1 : Form
    {
    public Form1()
    {
    InitializeComponent();
    for (int i = 0; i < 100; i++)
    {
    TabItem objNewItem = new TabItem();
    objNewItem.Text =
    "Tab " + i.ToString();
    radTabStrip1.Items.Add(objNewItem);
    }
    }
    private void AddNewTab_Click(object sender, EventArgs e)
    {
    for (int i = 0; i < 10; i++)
    {
    TabItem objNewItem = new TabItem();
    objNewItem.Text =
    "Tab " + radTabStrip1.Items.Count.ToString();
    radTabStrip1.Items.Add(objNewItem);
    }
    }
    }
    }

  2. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 04 Apr 2008 Link to this post

    Hello Rohan,

    Thank you for reporting these issues.

    I was able to reproduce them. The first one is caused by the protection against the overflow of the buffer queue for the layout. Currently, I cannot provide you with a workaround for it. As far as the second one is concerned, please add this piece of code in the Form_Load event handler:

    this.radTabStrip1.TabStripElement.TabLayout.ItemsOverlapFactor = 0; 

    Both issues will be addressed for one of our future releases. I updated your Telerik points for the report.

    If you need additional assistance, do not hesitate to contact me.

    Kind regards,
    Nikolay
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Rachel
    Rachel avatar
    37 posts
    Member since:
    Mar 2008

    Posted 03 Sep 2010 Link to this post

    Is there a workaround yet for the > 145 tabs lockup issue?  I am still seeing the problem in my application, using RadControls version Q3 2009 SP1.  Is there any way to get around this tabstrip causing a full application freeze?

    Any help would be much appreciated!

    Thanks,
    Rachel
  5. Vassil Petev
    Admin
    Vassil Petev avatar
    1765 posts

    Posted 07 Sep 2010 Link to this post

    Hello Rachel,

    Can you test your application with the new RadPageView, the successor of RadTabStrip? If the issue is resolved, as we believe it is, we will be happy to help you upgrade your application to the latest WinForms version.
     

    Best wishes,
    Vassil
    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
Back to Top