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

ForeignKey GUID issues

2 Answers 72 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pierre
Top achievements
Rank 1
Pierre asked on 23 Mar 2020, 03:52 PM

Hello,

I'm currentlty migrating a project to net core 3.1 and I have an issue with the ForeignKey column into a grid. Everything is fine with an another net version.

The issue is that if I try to have a ForeignKey column with a guid proprerty is not working properly, the dropdown is correctly populated so I can select the value I want but after the selection the cell is empty, the selected value has been successfuly sent to the server and if I try to display the grid items into the console the value is correct too but nothing is displayed.

And if I try to switch the type of the property from GUID to string, it's working.

The DataFieldValue and the DataFieldText are correct too.

Any ideas?

Thanks.

 

2 Answers, 1 is accepted

Sort by
0
Viktor Tachev
Telerik team
answered on 26 Mar 2020, 01:48 PM

Hello Pierre,

 

I am afraid that we have not received reports for the described behavior so far. Would you send us a sample project where the issue is replicated? This will enable us to examine it locally and look for its cause.

 

Regards,
Viktor Tachev
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Pierre
Top achievements
Rank 1
answered on 27 Mar 2020, 02:19 PM

Hi,

The problem has been identified, There was a problem with the transmission of the GUID from the list of values in the column, the GUID is transmitted in upper case and by transmitting it in lower case the problem was solved.

Thanks anyway for your response.

Tags
Grid
Asked by
Pierre
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Pierre
Top achievements
Rank 1
Share this question
or