We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Possible Bug with ForeignKeyColumn

Hi there,

Something I have noticed recently is that there is a possible bug with ForeighKeyColumn in Grid setup. I have been using the sample solution http://mvc.syncfusion.com/demos/web/grid/foreignkeycolumn till now without any issues as usually my view models have ID of type int.
In new project when I tried to have View Models with ID of type string (guid) there is a weird behavior I have noticed. If the guid values start with numberals e.g 235ab2x...... then in the method with signature BatchUpdate(List changed, List added, List deleted), all the ForiegnKey properties of objects within the newly added list is set to "235" string. I have tested this multiple times and suspect it could be a bug.


Let me know otherwise

I am usingSyncfusion.EJ.Mvc, Version=13.3500.0.18 andSyncfusion.EJ, Version=13.3450.0.18

I have spent hours trying to figure out why this is happening with the solution I am working on but bit stumped at the moment.


Regards
Prasanth

1 Reply

JK Jayaprakash Kamaraj Syncfusion Team March 14, 2016 12:29 PM UTC

Hi  Prasanthan,
Thanks for contacting Syncfusion support.
We have created a sample with Guid  as a Foreignkey Field, but we were unable to reproduce the issue. Please share the following information to find the cause of the issue and provide a solution,                                                                          

1.       How do you bind Guid column in Grid?.

2.       Share your client and server side codes.

3.       An issue reproducing sample if possible or sample hosted link or replicate the issue in the following sample.

Sample:  https://www.syncfusion.com/downloads/support/forum/123383/ze/SyncfusionMvcApplication56783956043


Screenshot:



Regards,

Jayaprakash K.


Loader.
Up arrow icon