Problem on ValueChange Event

Hi,
I have a problem on ValueChange Event of DropDownList Control.

I Have two DropDownList Controls. Each control has it's own Datasource.

On ValueChange Event of first control, I set Bind Value of second control to null and I reassign its datasource with new values. It raises the following errors:



If I do same actions as above from a button then it does not create a problem.

I have attached a sample project.


Attachment: TestBlazor_cd3d96e3.7z

3 Replies

SP Sureshkumar P Syncfusion Team February 27, 2020 12:40 PM UTC

Hi Dimitrios, 
 
Greetings from Syncfusion support. 
 
Based on your shared information with error details and sample. We suspect that you want to set the second dropdown value as null before change the second components data source. We suggest you to no need to set the value as null when change the data source. The value as automatically set null. 
 
Regards, 
Sureshkumar P 



DT Dimitrios Tsarouchis February 28, 2020 10:08 AM UTC

Ηι, 

I you don't set bind value null manually, value it doesn't set automatically null. 

Make comment the line:

ID2 = null

on ValueChanged event and you will see.

Below the second DropDownList Control I have a <span> element in which I display bind value of second DropDownList.


SP Sureshkumar P Syncfusion Team March 3, 2020 09:01 AM UTC

Hi Dimitrios, 
 
On further investigation in the provided information, we have already considered this as an issue in our end internally. The fix for the issue will be included in our upcoming 2020 Volume 1 beta release, which is expected to be rolled out on next week. We appreciate your patience until then. 
 
Regards, 
Sureshkumar P 


Loader.
Up arrow icon