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
You mention a performance issue, but you are not very specific about what's happening. What is your question?
I assume it's taking a long time to load the nodes into the tree.. about how long is it taking?
What version of the control are you using?
I am using Infragistics 5.2 controls.
Issue is: loading 8mb xml file it is taking time 14 minutes.
Well, 5.2 is a really old version.There have been many performance improvements made to the tree in the 3 years since that version was released. I recommend that you download the trial version of NetAdvantage 8.2 and test it out. I'm sure it will be a lot faster.
Hi,
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.
Prathap
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 used trail version of Netadvantage 8.2 version. No use to resolve performance issue. Thank you for your time.
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...