DropDownList within a PanelBar

2 posts, 0 answers
  1. Marc
    Marc avatar
    1 posts
    Member since:
    May 2017

    Posted 09 May 2017 Link to this post


    How do insert a DropDownList within a PanelBar?
    I have the following code but it does not work:


    I'm using version 2017.1.118

          .Items(panelbar =>
              panelbar.Add().Text("My Teammates")
                                      .BindTo(new List<string>()
                                        "S - 6 3/4\"",
                                        "M - 7 1/4\"",
                                        "L - 7 1/8\"",
                                        "XL - 7 5/8\""
                                      .HtmlAttributes(new { style = "width: 100%" })
  2. Dimitar
    Dimitar avatar
    729 posts

    Posted 10 May 2017 Link to this post

    Hello Marc,

    From the example provided I can see that you are trying to use deferring initialization. I can confirm that there is a known bug in the Kendo ASP.NET Core Wrapper and you can start tracking the progress we make on it from here.

    As a temporary workaround you can use the solution from the attached file (TelerikAspNetCorePanelBar.zip). You will notice that I have used the LoadContentFrom() method to load the _DropDownList partial view on demand.

    Telerik by Progress
    Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top