The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
I got a problem on the derivation of a tabcontrol.
I derived the tabcontrol, tabpage and tabpagecollection. I tried to override the TabPages Property of the derived TabControl
public override TabPageAdvCollection TabPages { get { return m_tabPageCollection; } } If I add an item to this collection the tabcontrol immediatly tries to repaint itself. This try fails because of an index error (index out of bounds). In my collection the item is contained but it seems that the tabcontrol got its own collection and does not use my one.
How can I force the tabcontrol to use my instance of the collection? If this is not the cause of the error, can you please give me a hint what I am doing wrong?
MJMano J Syncfusion Team September 18, 2006 02:49 PM UTC
Hi Holger,
We will check this issue and get back to you shortly.
Thanks, Mano
HLHolger LeichsenringSeptember 21, 2006 09:41 AM UTC
Hi,
could you find the problem? Maybe it is not possible to replace the original collection in the tabcontrol? That would it make difficult to derive that control if you want to add new features to the tabpages also.
thanks again,
Holger
Hi,
I got a problem on the derivation of a tabcontrol.
I derived the tabcontrol, tabpage and tabpagecollection. I tried to override the TabPages Property of the derived TabControl
public override TabPageAdvCollection TabPages { get { return m_tabPageCollection; } } If I add an item to this collection the tabcontrol immediatly tries to repaint itself. This try fails because of an index error (index out of bounds). In my collection the item is contained but it seems that the tabcontrol got its own collection and does not use my one.
How can I force the tabcontrol to use my instance of the collection? If this is not the cause of the error, can you please give me a hint what I am doing wrong?
Thank you in advance
Holger
>Hi Holger,
We will check this issue and get back to you shortly.