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.

Want the image on the last node.........

Thread ID:





39733 Jan 17,2006 08:02 AM Jan 20,2006 11:53 PM Windows Forms 2
Tags: Tools
Administrator [Syncfusion]
Asked On January 17, 2006 08:02 AM

Hi, In the image overlaying sample when I select the image of the last node of the last parent node and then collapse the last parent node, the image is displayed in the tree not on the last node. It looks odd. Is there any way to rectify it. Expecting ur reply. Thanks, regards, Rick

Deepa TS [Syncfusion]
Replied On January 18, 2006 12:36 AM

Hi Rick, You can avoid the image displaying in the tree, while collapsing the Last Parent Node of last node by handling the BeforeCollapse event handler private void treeViewAdv1_BeforeCollapse(object sender, Syncfusion.Windows.Forms.Tools.TreeViewAdvCancelableNodeEventArgs e) { if(!this.treeViewAdv1.SelectedNode.HasChildren) this.treeViewAdv1.SelectedNode=this.treeViewAdv1.SelectedNode.Parent; } Please take a look at the attached sample and let me know if this helps you. Thanks for your continued interest in Syncfusion products. Regards, Deepa.T.S


Administrator [Syncfusion]
Replied On January 20, 2006 11:53 PM

Thanx a lot!!


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.