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

Behavior issue _ Application hangs...

3 Answers 40 Views
Tabstrip (obsolete as of Q2 2010)
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rohan
Top achievements
Rank 1
Rohan asked on 03 Apr 2008, 10:07 AM

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);
}
}
}
}

3 Answers, 1 is accepted

Sort by
0
Nikolay
Telerik team
answered on 04 Apr 2008, 03:35 PM
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
0
Rachel
Top achievements
Rank 2
answered on 03 Sep 2010, 04:20 PM
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
0
Vassil Petev
Telerik team
answered on 07 Sep 2010, 09:32 AM
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
Tags
Tabstrip (obsolete as of Q2 2010)
Asked by
Rohan
Top achievements
Rank 1
Answers by
Nikolay
Telerik team
Rachel
Top achievements
Rank 2
Vassil Petev
Telerik team
Share this question
or