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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Dialog Template can't update

Thread ID:





146851 Aug 22,2019 03:50 PM UTC Aug 28,2019 01:02 PM UTC ASP.NET Core - EJ 2 5
Tags: DataGrid
Kenneth Tang
Asked On August 22, 2019 03:50 PM UTC

Dear all,

We have the problem to update record by using Dialog template in GataGrid. We can't update the value from dialog to gird. because of this we also can't update the latest record value into database. Attached is our code sample. Please advance thx.


Attachment: testController_97b36ca6.7z

Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On August 23, 2019 07:12 AM UTC

Hi Kenneth,  

Greetings from Syncfusion.  

We are unable to reproduce the problem at our end.  We have prepared sample demo that can be downloaded from the following location.  

Since you have used the local binding of the Grid datasource, the data will be saved the Grid DOM alone and not in the server-end. If you would like to save data to the server-end, you have to use the remote databinding. Refer to the Help Document.  

If you are still facing any problem, please share the following details.  

  1. Video demo of the issue
  2. Stacktrace of the browser console (if any error)
  3. You can also bind the ActionFailure event of the Grid to collect the exception details

Seeni Sakthi Kumar S. 

Kenneth Tang
Replied On August 23, 2019 09:27 AM UTC

Dear Seeni,

Attached please find the issue video that we have capture. after we have click the save button at dialog, the related column has not update in grid. so it can't pass the correct value to controller for updating.

Please advance, thx.


Attachment: 20190823_1719_78406245.7z

Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On August 27, 2019 02:29 PM UTC

Hi Kenneth,  

We can reproduce the problem in the older version (16.x) of the Grid. We have fixed the issued with the underscore ( _ ) concatenate field names with the Dialog Editing and Template editing in our recent versions. So, we suggest to ensure whether you are using our upgraded versions (17.2.46) which contains the fix. 

Seeni Sakthi Kumar S.  

Kenneth Tang
Replied On August 28, 2019 03:56 AM UTC

Dear Seeni,

We have already use v17.1.38 and after we have upgrade to 17.2.46. problem still occur. Attached please find the test sample as your reference , thx.


Attachment: testProject_a48c286.7z

Seeni Sakthi Kumar Seeni Raj [Syncfusion]
Replied On August 28, 2019 01:02 PM UTC

Hi Freddy,  

We have checked the script (ej2.min.js) of the attached application which is an outdated version and we can reproduce the reported issue with that. So we suggest to use either updated CDN link or npm generated script.  

Latest CDN:  
        <script src="https://cdn.syncfusion.com/ej2/dist/ej2.min.js"></script> 
Use the following reference link to update the scripts from NPM.  

Seeni Sakthi Kumar S. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon