Error in grid version 17.2.47
Hello,
When I updated to the newest version I got the following error in sections having the grid component:
SyntaxError: Unexpected token :
at Object.parseRevive (https://cdn.syncfusion.com/ej2/17.2.47/dist/ejs.interop.min.js:1:10408)
at JSON.parse (<anonymous>)
at Object.setModel (https://cdn.syncfusion.com/ej2/17.2.47/dist/ejs.interop.min.js:1:5544)
at http://localhost:5000/_framework/blazor.server.js:8:28347
at new Promise (<anonymous>)
at e.beginInvokeJSFromDotNet (http://localhost:5000/_framework/blazor.server.js:8:28316)
at http://localhost:5000/_framework/blazor.server.js:1:19148
at Array.forEach (<anonymous>)
at e.invokeClientMethod (http://localhost:5000/_framework/blazor.server.js:1:19119)
at e.processIncomingData (http://localhost:5000/_framework/blazor.server.js:1:17165)
SIGN IN To post a reply.
4 Replies
VN
Vignesh Natarajan
Syncfusion Team
August 29, 2019 05:57 AM UTC
Hi Ivan,
Thanks for contacting Syncfusion support.
Query: “When I updated to the newest version I got the following error in sections having the grid component”
As per your suggestion we have prepared a sample using 17.2.0.46 -beta version and upgraded that sample to our latest version Nuget package (17.2.0.47-beta). We are not able to reproduce the reported issue at our end. Kindly download the sample from below
Kindly ensure that you have referred the latest version scrips and css files as below and also clear the browser cache.
If you are still facing the reported issue, kindly share the following details.
- Share the grid rendering code example.
- Are you facing this issue with initial rendering or during a certain action in Grid?.
- Share the exact replication procedure along with video demonstration.
- Share the issue reproducible or try to reproduce the reported issue in provided sample.
Requested details will be helpful for us to validate the reported issue at our end and provide the solution as early as possible.
Regards,
Vignesh Natarajan.
Hi Ivan,
Thanks for contacting Syncfusion support.
Query: “When I updated to the newest version I got the following error in sections having the grid component”
As per your suggestion we have prepared a sample using 17.2.0.46 -beta version and upgraded that sample to our latest version Nuget package (17.2.0.47-beta). We are not able to reproduce the reported issue at our end. Kindly download the sample from below
Kindly ensure that you have referred the latest version scrips and css files as below and also clear the browser cache.
If you are still facing the reported issue, kindly share the following details.
- Share the grid rendering code example.
- Are you facing this issue with initial rendering or during a certain action in Grid?.
- Share the exact replication procedure along with video demonstration.
- Share the issue reproducible or try to reproduce the reported issue in provided sample.
Requested details will be helpful for us to validate the reported issue at our end and provide the solution as early as possible.
Regards,Vignesh Natarajan.
I have same error message with my grid. It looks to be related to implementing one of the row events because if I don't implement the below I don't have the error but if I have the following code then I have an issue:
<GridEvents RowSelected="@RowSelectedHandler" TValue="Account"></GridEvents>
in the code:
public void RowSelectedHandler(RowSelectEventArgs<Account> args)
{
{
}
BI
BigMac
August 31, 2019 02:19 AM UTC
I used the link to the code you provided and made the following changes and I reproduced the error :
I added this to the grid:
<GridEvents RowSelected="@RowSelectedHandler" TValue="Order"></GridEvents>
I added this to the "code" section:
public Order SelectedOrder { get; set; }
public void RowSelectedHandler(RowSelectEventArgs<Order> args)
{
SelectedOrder = args.Data;
}
public void RowSelectedHandler(RowSelectEventArgs<Order> args)
{
SelectedOrder = args.Data;
}
MB
Maran Baskar
Syncfusion Team
September 2, 2019 12:11 PM UTC
Hi Ivan,
Thanks for the update.
We can able to reproduce the reported issue “Script error thrown when using rowselected event” and logged a defect report for the same. This fix will be available in upcoming September 4, 2019 release.
You can now track the current status of your request, review the proposed resolution timeline, and contact us for any further inquiries through this link.
NOTE: The above feedback is under review. It will be visible once it is reviewed.
Until then we appreciate your patience.
Regards,
Maran Baskar.
SIGN IN To post a reply.
- 4 Replies
- 4 Participants
-
KI Krasimir Ivanov
- Aug 28, 2019 11:41 AM UTC
- Sep 2, 2019 12:11 PM UTC