C1Combobox data binding Performance Issue

Posted by: shaji on 23 July 2019, 7:09 am EST

    • Post Options:
    • Link

    Posted 23 July 2019, 7:09 am EST

    In our windows application, we have a C1Combobox control with the below properties set.

    AutoCompleteMode=Suggest

    AutoCompleteSource=ListItems

    AutoSuggestMode=C1.Win.C1Input.AutoSuggestMode.Contains

    This combo is used to search the list items from middle of the string, and it’s working fine. But the problem is, it’s taking too much time to bind the items. Even for just 1000 items, it take around 6 seconds to load the items from data base. For binding the data source we use the below code:

    ItemsDataSource = datatable

    ItemsDisplayMember = “”

    ItemsValueMember=“”

    UseItemsBindingSource = True

  • Posted 24 July 2019, 4:25 am EST

    Hello,

    Sorry I could not replicate the performance issue at my end even when I am adding 3000+ items in my combobox.​



    Please go through the attached sample and modify it accordingly to replicate the issue so that I can narrow down the problem.​



    Thanks and Regards,​

    Prabhat Sharma.

    ComboboxPreformanceDemo.zip

  • Posted 25 July 2019, 1:47 am EST

    Thank you for the reply,

    We have checked the link file you send and we observed that the issue still persists…

    We have resolved the binding issue with combobox, but now the problem is that it will take an average time of 8 to 10 seconds to list the items in combobox.

    You can check the attached file, on that we have implemented two buttons,

    1st button works with your code

    2nd button is works on our code

    We are using C1.Win.C1Input.4.dll and version no is :4.0.20182.314

    ComboboxPreformanceDemo.zip

  • Posted 25 July 2019, 6:18 am EST

    Hello,

    Yes I could observe the issue with your mentioned build.

    I have also checked it with latest build and observe that there is no performance issue in that. So I will suggest you to check this with the latest build i.e. 4.0.20192.375 and let me know your observations.

    I am attaching GIF files of your given sample with both the builds(old and latest), please have a look.

    Thanks and Regards,

    Prabhat Sharma.

    ComboBox.zip

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels