DropdownListFor default is inline Display:none?

1 posts, 0 answers
  1. Pat Tormey
    Pat Tormey avatar
    20 posts
    Member since:
    Feb 2010

    Posted 05 Sep 2012 Link to this post

    Ok so a real simple DropdownFor MVC 4 Razor VS 2012.

       <div class="editor-field">
            @(Html.Kendo().DropDownListFor(model => model.MaritalStatus)
              .BindTo(new List<string>() {
                  "Committed Partnership"

    Only the word Married is displayed because it seems the inline style is defaulting to display, inline:none

    See attached for the screen shots.

    Any thoughts?

    Pat NH USA

    Anybody else notice working with JavaScript is a lot like Fortran 4 with punch cards only not as easy to debug?

Back to Top