Drpdownlist not populating when table joined

2 posts, 0 answers
  1. Adrian
    Adrian avatar
    1 posts
    Member since:
    Apr 2016

    Posted 10 Jun Link to this post

    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

  2. Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 14 Jun Link to this post

    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
  3. UI for ASP.NET MVC is VS 2017 Ready
Back to Top