Inline edit of treeview having a dropdown in a column

2 posts, 0 answers
  1. Arvind
    Arvind avatar
    7 posts
    Member since:
    Aug 2016

    Posted 13 Oct Link to this post

    Hi,

    I am using a treeview to load data and on edit of a row, i would want to display a dropwon to choose data, i tried below to get the dropdown, but this does not give me a dropdown, please advise if this is possible or how to achieve this.

    columns.Add().Field(e => e.InActive).Editor("StatusType").Width(100) ;

    below is a partial view i added under the EditorTemplate folder

    @model CodedValues
    @(Html.Kendo().DropDownListFor(m => m)
            .AutoBind(true)
            .DataTextField("DisplayText")
            .DataValueField("KeyText")
            .DataSource(dataSource =>
            {
                dataSource.Read(read => read.Action("GetTypes", "my"))
                        .ServerFiltering(true);
            })
    )
    @Html.ValidationMessageFor(m => m)

     

    Thanks in advance.

  2. Eyup
    Admin
    Eyup avatar
    3009 posts

    Posted 17 Oct Link to this post

    Hello Arvind,

    Please expect a response in your ticket with ID: 1068317.

    Regards,
    Eyup
    Telerik by Progress
    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