ASP.net MVC Controller Scaffolding

1 Answer 11 Views
Grid
Matthew
Top achievements
Rank 1
Matthew asked on 05 Oct 2021, 02:15 PM
When auto scaffolding a grid with a entity context, foreign key relationships are not respected like in scaffolding a regular asp.net mvc controller.  Do we know if foreign key relationships will be supported in the future or are planned on being supported?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 08 Oct 2021, 02:51 PM

Hello Matthew,

 

I am afraid this is not implemented with the Grid. You see, the grid Scaffolder requires a single level Model configuration:

image

And then to configure the ForeignKey column manually:
https://demos.telerik.com/aspnet-mvc/grid/foreignkeycolumn

Or using a Template:
https://demos.telerik.com/aspnet-mvc/grid/editing-custom

I am afraid this is the case, butI hope this info clarifies the situation. Let me know if I can be of further assistance.

 

Regards,
Eyup
Progress Telerik

Remote troubleshooting is now easier with Telerik Fiddler Jam. Get the full context to end-users' issues in just three steps! Start your trial here - https://www.telerik.com/fiddler-jam.
Tags
Grid
Asked by
Matthew
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or