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

[Solved] unable to use foreigncolumn in grid

1 Answer 10 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.
Imraj
Top achievements
Rank 1
Imraj asked on 01 Dec 2011, 10:03 PM
I am trying to follow this example

http://demos.telerik.com/aspnet-mvc/razor/grid/foreignkeycolumn


however, VS2010 complains about

columns.ForeignKey(o => o.EmployeeID, (IEnumerable)ViewData["employees"],
                   
"ID", "Name")
.Width(230);

it says no "Foreignkey" for columns

I realized that it's a new function in telerick, so I downloaded the newest  telerick mvc package and installed it.

then, I update my project following http://www.telerik.com/help/aspnet-mvc/visual-studio-extensions-project-upgrade.html

but the problem still remains. please help

1 Answer, 1 is accepted

Sort by
0
Daniel
Telerik team
answered on 02 Dec 2011, 04:58 PM
Hi Imraj,


Could you try to upgrade your project again? You could try both the manual and the Visual Studio assisted instructions.
If the problem still persist, please send us the project so we could check it.


Best wishes,
Daniel
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the Telerik Extensions for ASP.MET MVC, subscribe to their blog feed now
Tags
Grid
Asked by
Imraj
Top achievements
Rank 1
Answers by
Daniel
Telerik team
Share this question
or