Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
660
Web Tree and page is slow
posted

Hi.  We have been working with infragistics controls for the past few months, and we just recently purchased your license So, we are using The Web Tab, and in each web tab, is a user control.  some tabs are static, and some are dynamically created at runtime.  In the user controls, one user control has the tree control, which works OK, but is slow when I click on a node to expand the levels of the tree.  But, also I was using javascript popup windows to display confirm OK / cancel boxes, and other radio buttons  to the user, and perform various functions based on what the user selects.  When I display the javascript popups it's very slow for them to appear, and also, they perform a postback from the popups, and refreshes the screen, and I want to eliminate the flashing.  I have put the tree control inside an </asp:UpdatePanel>, which is all inside the user control.  Is there a better way of doing this?  .  What about using the infragistics WebDialog control??  Would that solve the problem?  Also, the tree is bound to 2 datasets, so is that why it's slow? 

Thank you very much

 

 

Parents
No Data
Reply
  • 28464
    posted

    Hello,

    The general performance problem is that UltraWebTab renders the contents of all tabs at once (not just the selected tab). This can add to quite a lot of HTML on the page and slow performance down. Some tips on how to deal with that are suggested here:

    http://forums.infragistics.com/forums/p/13053/48733.aspx#48733

    Same goes for TreeView. If there are a lot of nodes (say hundreds or thousands) this can slow the performance quite a lot. Luckily, there is solution for the treeview problem - it is called LoadOnDemand - and you can fetch nodes on demand (not at once)- you can find nice samples for that in our online samples application (under the WebTree tab - search for Ajax Load On Demand samples). Our samples appliation is located here:

    http://samples.infragistics.com/2008.2/webfeaturebrowser/default.htm

    WebDialogWindow and/or using UpdatePanel or not will not help performance wise - you will have boost if you redesign your UI (e.g. less tabs if possible, less controls, etc)

Children
No Data