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
903
WebCombo > Ajax Enabled webcombo - Datasource refresh problem
posted

I have a form with multiple fields to make a database request.

Once the user press the submit button, the request is proceed and if the result list count is >0 I display a pannel containing a webcombo, setting combo datasource to the list of results.

 

As sometimes the result list can send more than 500000 rows, I enable Combo AJAX checkbox (design time) to load data on demand.

 

But since I checked it, I have s trange problem :

- First submit -> ok

- Second submit (changing a request field) ->

          - if 2nd result list count < 1st result list : I see the first results instead of the corrects ones

          - if 2nd list count > 1st results : i see the first N rows as beeing the first request answer and the others lines as beeing the new results

- Third submit (witjhout changing any request field) : the new result list is correctly displayed.

 

Does anyone know if this is an AJAX webcombo bug ? or maybe do I need to "reset" the Ajax view of the combo by calling a method ? How can I change properly the datasource of the ajax enabled webcombo between two postback of my page ?

Thanks in advance for your tips guys.