- Home
- Forum
- ASP.NET Core - EJ 2
- Dialog Template can't update
Dialog Template can't update
Dear all,
Attachment: testController_97b36ca6.7z
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.
KennethT
Attachment: testController_97b36ca6.7z
SIGN IN To post a reply.
5 Replies
SS
Seeni Sakthi Kumar Seeni Raj
Syncfusion Team
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.
- Video demo of the issue
- Stacktrace of the browser console (if any error)
- You can also bind the ActionFailure event of the Grid to collect the exception details
Regards,
Seeni Sakthi Kumar S.
KT
Kenneth Tang
August 23, 2019 09:27 AM UTC
Dear Seeni,
Attachment: 20190823_1719_78406245.7z
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.
KennethT
Attachment: 20190823_1719_78406245.7z
SS
Seeni Sakthi Kumar Seeni Raj
Syncfusion Team
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.
Regards,
Seeni Sakthi Kumar S.
KT
Kenneth Tang
August 28, 2019 03:56 AM UTC
Dear Seeni,
Attachment: testProject_a48c286.7z
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.
KennethT
Attachment: testProject_a48c286.7z
SS
Seeni Sakthi Kumar Seeni Raj
Syncfusion Team
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.
Regards,
Seeni Sakthi Kumar S.
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
-
KT Kenneth Tang
- Aug 22, 2019 03:50 PM UTC
- Aug 28, 2019 01:02 PM UTC