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
60
WebCombo Reinitialization Slows Other Controls Down
posted

I have a WebCombo with the following settings:

sender.EnableXmlHTTP = True
sender.Editable = True
sender.HideDropDowns = False
sender.ComboTypeAhead = Infragistics.WebUI.WebCombo.TypeAhead.Suggest

It is implemented as a User Control (.ascx). I would like to keep it that way, but I can drop it on the page directly if necessary.

On the same page, I have a WebTree which by itself works amazingly fast. However, when I add the Combo, every time a user clicks on a tree node (postback), the Combo gets reinitialized as well. This takes time and the tree seems to react slow to user's clicks.

Since the WebCombo brings rows in on demand, it i set
sender.DropDownLayout.RowsRange = 7
it works better, but still not good enough. The real problem appears if the user scrolls down in the WebCombo (and they have to have that option), and "brings" many rows in, then leaves the Combo and tries to do something with the tree.

The tree and the combo are independent of each other, and when the user stops working with the Combo, it can go back to its initial state (it does not need to remember what the user picked). I tried to do Rows.Clear( ), but that does not work. It does clear the rows, but it does not speed up the performance.

I was wondering if there is some way to cache the initial state of the Combo, and revert to it when the user is done (when DropDown goes up). Or is there a way to isolate the combo so that it does not do anything (loads once and sits there) unless the user starts interacting with it.
I don't even know if I should look at caching, other Infragistics controls (like WARP), or Combo settings. I would really appreciate any advice you have.

Thank you.