We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Does not correctly retrieve the selected values from a List Box



Steps to reproduce the error:

  1. Create a List Box type control 2.
  2. Assign it the values "Value 1", "Value 2" and "Value 3".
  3. Select for example the option "Value 2" and click on "Get Values". The console displays the following:

{"List Box1":"Value 2,Value 1,Value 3"}

And it should show the following (only the selected option, not all options...):

{"List Box1":"Value 2"}

And if two options are selected, only show those two options:

{"List Box1":"Value 2,Value 3"}

11 Replies 1 reply marked as answer

VV Visvesvar Venkatesan Syncfusion Team March 22, 2023 03:12 AM UTC

We were able to reproduce the reported issue  “Form Fields failed to import and export properly in JSON format” and suspect this to be a defect. We will analyze further on this and update you with more details within two business days.

VV Visvesvar Venkatesan Syncfusion Team March 24, 2023 07:02 AM UTC

We confirmed the issue “Form Fields failed to export properly in JSON format as a defect in our product and defect and we will include the fix in our upcoming weekly NuGet release, which will be available on April 5, 2023.

PA Pere Argelich Romà March 24, 2023 07:28 AM UTC

Ok, thank you.

VV Visvesvar Venkatesan Syncfusion Team April 5, 2023 12:43 PM UTC

We have fixed the reported issue “Form Fields failed to export properly in JSON format” and the fix for the reported issue was included in our latest weekly release v21.1.0.38. Kindly upgrade to that version to get the issue resolved.



Service side package

ASP.NET Core :      




ASP.NET MVC:      




CDN: http://cdn.syncfusion.com/ej2/21.1.38/dist/ej2.min.js    


PA Pere Argelich Romà replied to Visvesvar Venkatesan April 5, 2023 12:47 PM UTC

Is it updated in the docker version as well?


Thank you!

PA Pere Argelich Romà replied to Visvesvar Venkatesan April 6, 2023 07:24 AM UTC

I tried it with the same example as the first post (changing the version) and it doesn't work


What am I doing wrong?

VV Visvesvar Venkatesan Syncfusion Team April 8, 2023 11:07 AM UTC

We have shared the sample and docker image below in version,

Sample:  https://www.syncfusion.com/downloads/support/directtrac/general/ze/DockerSample20.4.54-376285918.zip

Docker image:  https://www.syncfusion.com/downloads/support/directtrac/general/ze/PdfviewerServer21138-1306108897.zip

Steps to run the sample:

Note: We update the docker hub sample only in SP Release and Main releases. If you need the docker image in the weekly release version. You need to build the docker image on your end.

To get the issue resolved kindly update the server version also to the latest version(21.1.38) and get resolved.

PA Pere Argelich Romà May 29, 2023 07:40 AM UTC

I have tried again the same example as the first post (changing the version to 21.2.6) and it doesn't work


I have waited for the release of the Service Pack but the example does not work correctly.

What am I doing wrong?

VV Visvesvar Venkatesan Syncfusion Team May 31, 2023 11:42 AM UTC

The changes are done on the server side and the changes may not be updated in the online URL. We will update the online URL during the volume release. Kindly use the local service URL and check once.

Server sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/ControllerPractice-Server1737233565.zip

Client sample: https://stackblitz.com/edit/djrmdn-hqpneg?file=index.html,index.js

Steps to run the client and server:

Step 1) Run the server project and copy the hosting URL like " https://localhost:44309/pdfviewer ".

Step 2) Paste the copied URL in the client URL and then run the client.

We have attached the image of the value getting exported.

Kindly try this and let us know if you have any concerns.

Marked as answer

PA Pere Argelich Romà May 31, 2023 12:30 PM UTC

Okay, thank you very much. Sorry for the confusion.

VV Visvesvar Venkatesan Syncfusion Team June 1, 2023 10:28 AM UTC

Kindly don't hesitate to reach out if you have any additional inquiries. We are here to assist you.

Live Chat Icon For mobile
Up arrow icon