Null Exception on null list as datasource of SfComboBox when down arrow key is pressed

I am facing a problem that if an empty list is the data source of SfComboBox and I am pressing down arrow key it is trowing a null exception.
I am stuck with this problem and unable to bind a list that is empty. Usually a combobox must show an empty drop down menu after pressing the down arrow key with null datasource.

System.ArgumentOutOfRangeException: 'Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index'

Kindly help me.

2 Replies 1 reply marked as answer

VR Vijayalakshmi Roopkumar Syncfusion Team January 18, 2021 08:45 AM UTC

Hi Shahbaz, 
 
Thank you for your using our Syncfusion products. 
 
We have checked the reported exception "ArgumentOutOfRangeException: 'Index was out of range. Must be non-negative and less than the size of the collection."  with SfComboBox and it already a known issue at our end. We have fixed this and it has been included in our latest version 18.4.0.30 V. So we recommend you to upgrade to our latest version[18.4.0.30] in order to get the issue fixed, else please let us know your currently using syncfusion product version details, it would be helpful for us to proceed on it further. 
 
Please let us know if you need any further assistance on this. 
 
Regards, 
Vijayalakshmi VR 


Marked as answer

SP Sangavi Periyannan Syncfusion Team January 19, 2021 04:54 AM UTC

From: Shahbaz Rauf 
Sent: Monday, January 18, 2021 6:31 AM
To: Syncfusion Support <[email protected]>
Subject:
Re: Syncfusion support community forum 161606, Null Exception on null list as datasource of SfComboBox when down arrow key is pressed, has been updated. 
Hi  Vijayalakshmi VR  

Hope this email finds you well. I am grateful as well as quite happy on the prompt reply from you. I have tested and the problem is resolved. Earlier I was using an older version of syncfusion controls. 

Thanks and regards 

Shahbaz Rauf 


Loader.
Up arrow icon