We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Layout issue with MultiColumnTreeView BeginUpdate / EndUpdate

Thread ID:

Created:

Updated:

Platform:

Replies:

118738 Apr 6,2015 09:04 AM Apr 9,2015 01:01 AM Windows Forms 3
loading
Tags: MultiColumnTreeView
Sergei Leschinksy
Asked On April 6, 2015 09:04 AM

Hi, when I populate MultiColumnTreeView within BeginUpdate / EndUpdate calls all the nodes appear at the left border of the control, text overlapping the plus/minus signs. When I comment BeginUpdate line, the nodes are displayed correctly. Is this behavior by design? Here is a sample to reproduce it in a blank project: 

multiColumnTreeView1.Style = MultiColumnVisualStyle.Default;
multiColumnTreeView1.BeginUpdate();
            
for (int i = 0; i < 10; i++)
{
    var node = new TreeNodeAdv("parent");
    multiColumnTreeView1.Nodes.Add(node);

    for (int j = 0; j < 10; j++)
    {
        var node2 = new TreeNodeAdv("child");
        node.Nodes.Add(node2);
    }
}

multiColumnTreeView1.EndUpdate();

Thanks,
Sergei

Senthil Kumaran Rajan [Syncfusion]
Replied On April 7, 2015 01:42 PM

Hi Sergi,

Thank you for using Syncfusion products.

We have prepared sample by loading MultiColumnTreeView, based on shared details and we could find TreeNodeAdv text does not overlaps, with the Plus Minus icon in both the cases. Could you please check with the sample and video attached in below location?

Sample Location: http://www.syncfusion.com/downloads/support/forum/118738/MultiColumn-1333414670.zip

Video Location : http://www.syncfusion.com/downloads/support/forum/118738/MultiColumnTreeView-700763953.zip

And let us know whether we have followed proper steps reproduce this reported behavior? And If you are still able to reproduce this reported behavior, Could you please share us your machine configuration details? That will be helpful for us to analyze and provide prompt solution as earlier as possible.

Please let us know if you need further assistance.

Regards,
Senthil

Sergei Leschinksy
Replied On April 7, 2015 02:05 PM

Hi Senthil,

I've just checked your sample. The nodes are displayed correctly indeed. The problem occurs only if I move initialization code from the Form.Load event handler to the constructor of the form. I failed to check it with Form.Load initially as I usually do the initialization in the constructor. So it appears that the issue is a minor one and easy to deal with.

Thanks,
Sergei

Senthil Kumaran Rajan [Syncfusion]
Replied On April 9, 2015 01:01 AM

Hi Sergei,

We considered this requirement layout issue with “MulticolumnTreeView” as bug and a support incident has been created under your account to track the status of this requirement. Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents

Regards,
Senthil

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;