Hi All,
We are using WebDataGrid 11.1.20111.2020 with VS 2010.
There are some pages in which the WebDataGrid with RowEditTemplate (RET) is inside a UpdatePanel.
We could use RET to add new record to the WebDataGrid. But when try to edit that record, the save function just work for the first time. At the second time when Saving that record, we always get following error message like this "Invalid JSON primitive:|0|001......"
If removing the UpdatePanel, it works fine but we need UpdatePanel to refresh the Grid after saving.
Note that we got this error after upgrade the project from VS 2005/Infragistics 2010.3 to VS2011/Infragistics 2011.1. It worked stable on old version.
Please help to resolve.
Thanks,
Nguyen Huu Chu - VNETSOFTWARE
Hi All, I have same issue above. I have a RowEditTemplate that contains UpdatePanel and 'Save' button. When I try to perform 'Save' more than 2 times, then javascript error is "invalid json primitive ....." Please take a look at simple sample to see this issue and help me resolve it.Thanks,Trung
Hello Guys,
It’s took me a while to figure out what happens in this sample, so first of all if you use the ajax capability of the grid you need to avoid using the updatepanels. I’ve built a sample that shows how to use the grid with Manual CRUD operations. RET is used to update the rows. You can click on a row selector from the grid to bring out the template, make some changes and press ok button from the template. This will commit the change to the server using ajax afterwards the updated rows is saved in xml file.
You can download the sample from here:
http://forums.infragistics.com/members/RMinchev/files/WDG/WDG_5F00_ManualCrud.zip.aspx
Hope that helps a bit.
Hi Radoslav Minchev Thank you for replying. My project has many grids using RET . All RETs work fine in version 10.3. This issue occurs when I upgrade my project to version 11.1. With your suggestion, I need to make many changes in source code. Those are risk for me. Please suggest other solution for fix this issue.Thanks,Trung
Hello Trung,
I had tested your sample with the RTM release of 10.3 Version and it appears that your sample works well with that version. I have created support ticket (CAS-70747-XDF4ST) on your behalf in order to address this issue internally and investigate it deeply. You can see the ticket under your account on our website = > "My Support Activities". Developer support Engineer will contact you through the ticket with more information on that matter and work with you until this is resolved.
I noticed that you have a Trial account or you have not register your key yet in our system. Please register it on the following link ( http://devcenter.infragistics.com/Protected/ProductRegistration.aspx ) which will give you access to the Service Release that will provide resolution to this issue as soon as it's ready.
Thank you, Radoslav Minchev