This question is locked. New answers and comments are not allowed.
Hello all,
I may be missing something but from all posts I read it seems that there is no easy way to bind a listbox into a field with a foreign key; and when you edit the Grid you display the description of the field but you actually update the foreign key on the table. For instance:
I may be missing something but from all posts I read it seems that there is no easy way to bind a listbox into a field with a foreign key; and when you edit the Grid you display the description of the field but you actually update the foreign key on the table. For instance:
Product table:
ProductId
ProductName
CategoryId <=== need to bind a listbox with ID, CategoryName
Category table:
CategoryId
CategoryName
The sample below does not seem to fit my scenarion:http://demos.telerik.com/aspnet-mvc/razor/grid/clientedittemplates
Any ideas? thank you