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

[Solved] Possible Bug with Object Property Names

0 Answers 6 Views
Grid
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Jason Michas
Top achievements
Rank 1
Jason Michas asked on 08 Oct 2010, 06:25 PM
I had a weird situation come up recently.
I had a grid using ajax binding to an object named Item. Item had a bunch of properties but two of them were Name and AppName.
When I tried to edit the Item in place the Name property was getting overwritten by whatever was in the AppName field.
I confirmed this using Firebug to look at the post data which showed Name= and AppName= to the same value. If I removed AppName the post data correctly included the Name field data. I eventually fixed this by changing my AppName property to Application and all worked as expected. So this may be a bug in how the grid serializes the data before posting it. I dont have time to do a test but hopefully someone else can confirm this.

Thanks,
Jason
Tags
Grid
Asked by
Jason Michas
Top achievements
Rank 1
Share this question
or