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

Drpdownlist not populating when table joined

1 Answer 30 Views
DropDownList
This is a migrated thread and some comments may be shown as answers.
Adrian
Top achievements
Rank 1
Adrian asked on 10 Jun 2016, 01:28 PM

Hi,

I am trying to load SQL server data into a dropdownlist in an MVC project, database
first and it works fine as the long as the table is not joined in the
model diagram.

As soon as i bring other tables that are linked to the
one i need, the dropdown does not load data anymore.

Am I missing something?
How can i solve this?

Thx

Adrian

1 Answer, 1 is accepted

Sort by
0
Nencho
Telerik team
answered on 14 Jun 2016, 08:25 AM

Hello Adrian,

I would suggest you to make sure that the final result, after the referenced join, is in proper format, in order for the DropDownList to be populated with it.

In addition, please refer to the following thread, where a similar topic is discussed:

http://stackoverflow.com/questions/25214382/mvc-kendo-dropdown-read-get-items-with-join-between-a-table-and-view

Regards,

Nencho
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
DropDownList
Asked by
Adrian
Top achievements
Rank 1
Answers by
Nencho
Telerik team
Share this question
or