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.

Extended use of LoadOnDemand Functionality - TreeViewAdv

Thread ID:

Created:

Updated:

Platform:

Replies:

22277 Dec 8,2004 10:51 AM Dec 10,2004 03:22 AM Windows Forms 1
loading
Tags: Tools
Pradeep Kumar
Asked On December 8, 2004 10:51 AM

Hi all, We want to use the LoadOnDemand Functionality of the TreeViewAdv. We are aware of how to use this in the Control as it is available. To addition to what is currently available we have the requirement as follows: we would like to have a Initial Tree Populated with all nodes expanded. However, Not every nodes would contain All its Child Nodes. There would be few additional child nodes that will be added to the node ON DEMAND. To Provide this kind of ON DEMAND functionality, we want all nodes to have the + sign even if they are expanded. On click of the + sign, we would lookup some datasource to see if there are any additional childs that can be shown for that particular node. If such nodes exist it will be added as a child. After this process, Based on the total no of children for that node the coressponding - or nochild image will be shown for that node. How do we go about getting this functionality from TreeViewAdv?

Administrator [Syncfusion]
Replied On December 10, 2004 03:22 AM

Hi Pradeep, Sorry for the delay in getting back to you. Unfortunately this feature cannot be supported out of the box and I could not think of a proper workaround for this. However I have consulted the development team regarding this issue and should be hearing from them shortly. Please let me know if the following enhancement would meet your requirements Proposed Feature : 1) A property setting could be added called ShowPlusOnExpand which would keep displaying the Plus sign on a node even when expanded while in LoadOnDemand mode. 2) The BeforeExpand event would get raised even when the plus is clicked again when in expanded mode so that you can check the datasource for changes. Thanks. Best regards, Stephen. >Hi all, >We want to use the LoadOnDemand Functionality of the TreeViewAdv. >We are aware of how to use this in the Control as it is available. > >To addition to what is currently available we have the requirement as follows: > >we would like to have a Initial Tree Populated with all nodes expanded. >However, Not every nodes would contain All its Child Nodes. There would be few additional > >child nodes that will be added to the node ON DEMAND. > >To Provide this kind of ON DEMAND functionality, we want all nodes to have the + sign even > >if they are expanded. > >On click of the + sign, we would lookup some datasource to see if there are any additional > >childs that can be shown for that particular node. > >If such nodes exist it will be added as a child. > >After this process, Based on the total no of children for that node the coressponding - or > >nochild image will be shown for that node. > >How do we go about getting this functionality from TreeViewAdv?

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.

;