For some reason this is not rendering correctly.

I think I copied this method from another application, and seem to be missing something for razor to render correctly

MODEL has

```
   private void InitLogsToRetrieveOptions()
    {
        // TODO change this to retreive by DATE/TIME

        string logsToRetrieveConfig = ConfigurationManager.AppSettings[LogConstants.LogsToRetrieveConfig];
        var logsToRetrieveOptions = new List<string>(logsToRetrieveConfig.Split(','));
        var logsToRetrieveOptionList = new List<DropdownItem>();

        for (int i = 0; i < logsToRetrieveOptions.Count; i++)
        {
            logsToRetrieveOptionList.Add(new DropdownItem("Top " + logsToRetrieveOptions[i], logsToRetrieveOptions[i]));

        }

        LogsToRetrieveOptions = new SelectList(logsToRetrieveOptionList, LogConstants.DropdownItemValue);

    }

```

WebConfig has 

```
<...>
<add key="LogsToRetrieve" value="10,20,30,50" />
</appSettings>

```

and Index is 

```
    @Html.LabelFor(model => model.SelectedLogsToRetrieve, new { id = "LogsToRetrieveLabel" })
    @Html.DropDownListFor(model => model.SelectedLogsToRetrieve, Model.LogsToRetrieveOptions)

```

To me this seems solid except for the fact my page looks like this
[![enter image description here](https://i.stack.imgur.com/c4IUd.png)](https://i.stack.imgur.com/c4IUd.png)

SO my question is why does this not work and i am making this applicaiton less M$oft Razor and more AngularJs ( should I handle this better in Angular.Js) and not work on fixing this. Yet I would also Like to know why this is not working ( general programmer compulsion need to know why .)

Edit : the model seems to build correctly I've set breakpoints.