Hi,
1) In UltraWebTree DemandLoad fired after Page_Load on clicking "populating symbol" of the node. However, for WebDataTree NodePopulate fires before Page_Load (I was surpised, but I used breakpoints several times to be sure), and that's inconvenient, because the order is crucial for me. Any help?
2)In Nodes of UltraWebTree AddRange method took Collection as an Argument, so it was possible to add all the nodes of the one tree to the other one correctly. Is there any way to do that for webDataTree?
Will
foreach (DataTreeNode n in firstTree.Nodes)
secondTree.Nodes.Add(n);
give the same effect?
Hi Andrey,
If you want to use load on demand feature of WebDataTree I would suggest you to check the online samples - https://es.infragistics.com/samples/aspnet/data-tree/manual-load-on-demand, https://es.infragistics.com/samples/aspnet/data-tree/load-on-demand and the documentation - http://help.infragistics.com/Help/Doc/ASPNET/2012.1/CLR4.0/html/WebDataTree_Load_on_demand.html.
And yes, the suggested by you code should work to add nodes to another tree. However, the WebDataTree also have the AddRange method to add an array of nodes.
Please do not hesitate to ask if you have any questions.
Here is an example of using the AddRange method:
DataTreeNode[] dtnc = new DataTreeNode[WebDataTree1.Nodes.Count]; foreach (DataTreeNode n in WebDataTree1.Nodes) { dtnc[n.Index] = n; } WebDataTree2.Nodes.AddRange(dtnc);
Hope this helps.
Hello Nikolay,
Thanks for the piece of advice and reproducing the issue. However, then I tried to modify the installation and left Install with lastest service release checked it kept saying Unable to download updates - but the internet connection is OK, the installation pocess has been run under administrator, I allowed it through firewall, the process isn't block by any antivirus etc. Then I downloaded and installed archived release from here https://es.infragistics.com/support/archived-downloads Download NetAdvantage for ASP.NET 2011 Volume 1 , but it contained the same version 11.1.20111.1006. Where can I get 11.1.20111.2178 version?
You can find the latest SR in our website by going to Account – Keys & Downloads and selecting your product name. Then go to Service Releases tab – there you will find the download link.
Thanks, now it works with AutoPostBack off OK, and plus the problem with addEventListener() javaScript Error in IE9 (http://es.infragistics.com/community/forums/p/73735/373027.aspx#373027) is gone, too. However, the same behaviour I reproduced in the same sample by switching AutoPostBack flag for clicking to Async. And with On there is of course no animation, but I assume it's a right behaviour. By the way, is there any way to have simultaneously this really nice animation and AutoPostBack on? It seems no, because AutoPostBack causes, as it should, post back.
It seems that this is not possible.
Thanks, that's a pity. However in version 11.1.20111.1006 animation kind of worked as we discussed earlier... However I guess it's because the postback wasn't firing until the mouse button was released.