This is a migrated thread and some comments may be shown as answers.

"__id" in JSON make row deletion in my grid failed

4 Answers 128 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Steve
Top achievements
Rank 1
Steve asked on 27 Jan 2012, 05:12 PM
I've made some complex editing to test my grid. But i found "__id" attribute in my JSON. I didn't know where was it come from. It makes my deserialization from json to my model failed (I used MVC).... When i test a simple editing like combination of two delete and two insert operation, there is no "__id"  attribute. It only happens when i test the grid with complex query like three insert and three delete alternately..


 Is it bug from Kendo UI Grid ? Did anyone find a solution ?

Thx.. Regards... ^_^

4 Answers, 1 is accepted

Sort by
0
Rosen
Telerik team
answered on 30 Jan 2012, 01:13 PM
Hello Steve,

I'm afraid that it is not clear what may cause such behavior judging from the given details. Therefore, please provide a small sample in which this issue can be observed locally.

Regards,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Steve
Top achievements
Rank 1
answered on 31 Jan 2012, 01:52 PM
Hey Rosen..
I give you the screenshot of my error. I used Firebug to detect the error..

I don't know where was "__id" come from. In server side, i read that JSON and convert it into my Model. But the "__id" make my conversion failed because i don't define that attribute in my Model class..

Thx for the response. Hopefully it will be solved.. Thx..
0
Steve
Top achievements
Rank 1
answered on 31 Jan 2012, 01:55 PM
The error always happen when i add new record, save it, update it and save it again.. I don't know why it is happen..
0
Rosen
Telerik team
answered on 01 Feb 2012, 09:22 AM
Hello Steve,

Unfortunately, I'm unable to recreate such behavior locally.  Are you able to observe such behavior on our online demo? Please consider providing a small sample in which this can be observed locally.

All the best,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Steve
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Steve
Top achievements
Rank 1
Share this question
or