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
404
Setting Initial Value of WebCombo when "Smart Load" is enabled
posted

Apologies in advance, this question was raised before, but the thread it was posted by another user appears to have gone cold.  I have the following situation:

  • I have a webcombo with a large data set, this means we have smart paging with EnableXmlHTTP= true. Performance is good and this works when we are in "create new record" mode of the form.
  •  The problem occurs when we go into edit mode and we want to set the wembcombo to a specific value, if the required value just happens to be within the existing rowcount, all is good.  If however the record is not within the rowcount, we get an error as the value we want to set is not in the Webcombo.
  • The solution would appear to be in code to "page" the webcombo to the the appropriate rowcount section that does contain the desired value.  How can this be done?

Neil

Parents
No Data
Reply
  • 24671
    posted

    Hi,

    You can use the WebDropDown control ASP.NET AJAX control (new in 2009.1) to achieve this functionality.

    There paging and filtering work together independently, so you can filter (by editing the text),  and page at the same time.

    Apart from paging there is LoadOnDemand, which allows you to scroll down and new data is appended to the existing data.

    Hope this helps,

    Angel

Children
No Data