Hi
I will give small example how i am loading xml files into GUI in the form of tree structure.
obj_ServiceConfiguration_XmlDocument.Load(str_ServiceConfiguration_FileName) (using System.Xml.XmlDocument object i am loading XML file).
In design phase, I am using Infragistics.Win.UltraWinTree.UltraTree to display XML in the form of Tree structure. By default This UltraTree is having one Root Node.
Once I loaded XML using XMLDocument object.......do the folowing steps until XML reaches end.
1) create the object of Infragistics.Win.UltraWinTree.UltraTreeNode
2) Get the node from XMLDocument object and assigns to the TreeNode.
3) This UltaTreeNode will add into parent node of Infragistics.Win.UltraWinTree.UltraTree
The same steps will follow until reaches XML end tag.
This is taking long time to load files into GUI.
If you need any clarification on this aske me... I will send in detail. my personal mail id is: prathap_u@rediffmail.com
Reply
Thank you for your time
Regards
Prathap Reddy U
Hi,
I used trail version of Netadvantage 8.2 version. No use to resolve performance issue. Thank you for your time.
Prathap
Turning off sorting while populating the tree control was a major performance gain for me. By having sorting off and then after the tree is populated then triggering a sort, the load time for one test screen dropped from 23 seconds to 4-5 seconds.
Hopefully this will provide an additional trick to try...
Hi Prathap,
I'm sure the zip file is not corrupted, though. It sounds to me like your download failed. Anyway, I don't have any way to provide you with the trial installer. If you cannot download it from the web site, you should contact Infragistics Developer Support for assistance. Submit an incident to Infragistics Developer Support
I tried to install trail version of NetAdvantage20082 version. The Zip file is corruptred.
Could you please provide the exact link for trail verision. I would be very happy.
Thank you for your time.
There's really nothing to it:
tree.BeginUpdate();
// Add all of the nodes to the tree here
tree.EndUpdate();