DropDownList displays Index instead of display text

2 posts, 0 answers
  1. Simon
    Simon avatar
    2 posts
    Member since:
    Apr 2015

    Posted 05 May 2015 Link to this post

    My Goal:

    On Edit - display display text associated with DropDownList ID selected in lookup table.


    When creating a record, the DropDownList will lookup the value and display the associated text. Because the field is used to store only the "index" or ID of the associated record, when editing, only the integer index is displayed. I would like the text to be displayed as if it was just selected when the edit window is opened.

    I have just begun working with Kendo and just not sure of the syntax.

     Thank you!

  2. Alexander Popov
    Alexander Popov avatar
    1436 posts

    Posted 07 May 2015 Link to this post

    Hi Simon,

    I am not sure I understand the scenario very well. Are you using the DropDownList inside a Grid? If so, I would recommend using a ForeignKey column, as shown in this example. Please, share more details if that is not the case. Any code snippets would also be of use.

    Alexander Popov

    See What's Next in App Development. Register for TelerikNEXT.

Back to Top