Hello, I have a webcombo witch it is binded to a objectdatasource, if the combo has ajax enabled, it works , but if it is ajax disabled it works very very slow to display 2300 records. The query is very fast rething the datatable, but the combo just get freezed.
What do I have to take in mind?
You must be using IE6. Upgrade your browser to IE7, and the reload won't happen again.
I am having this problem even with using Ajax enabled. I am using the Load on Demand as in the example but it keeps reloading 150 or so images on each Ajax reload, (Actually if I mouseover another row this also happens). I am assuming the images are backgrounds of the cells and headers based on the template style we are using.
How can I keep the Combo from reloading all of those images on a mouseover or clicking on the scrollbar? Or how can I cache those images from the first load?
I get the same behavior from the UltraWebGrid.
Yes you would need to use the EnableXmlHTTP property. There are samples in the Samples Browser that demonstrate this technique
http://samples.infragistics.com/2008.3/WebFeatureBrowser/contents.aspx?showCode=True&t=WebGrid/WebComboXmlHTTP/WebComboXmlHTTP.aspx~srcview.aspx?path=../webfeaturebrowservb/WebGrid/WebComboXmlHTTP/WebComboXmlHTTP.src~srcview.aspx?path=WebGrid/WebComboXmlHTTP/WebComboXmlHTTP.src
The SamplesBrowser is available via the installer or the code can be viewed online. But in a nutshell, you would set EnableXmlHttp to true and set up your DataSource property to the Datasource control you are using.
When you say your using ajax to process the request are you referring to the EnableXmlHTTP property? I am having this same problem. I need to create a drop down which contains 2216 rows. Is there a better way to do this?
You really need to use either AJAX or (I think ) the WebCombo supports paging. That many rows creates a lot of client side objects which take a long time to process.