title: DevExpress ASP.NET MVC Combobox not showing the values
body: <p>In my PartialView I add a grid with a column that I need to be a combobox in this way.</p>
  
  <pre><code>settings.Columns.Add(column =&gt;
      {
          column.FieldName = "TheFieldName";
          column.Caption = "ACaption";
  
          column.ColumnType = MVCxGridViewColumnType.ComboBox;
          var comboBoxProperties = column.PropertiesEdit as ComboBoxProperties;
          comboBoxProperties.DataSource = ViewData["MyListOfObjects"];
          comboBoxProperties.TextField = "Description";
          comboBoxProperties.ValueField = "Description";
          comboBoxProperties.ValueType = typeof(String);
      }); 
  </code></pre>
  
  <p>The ViewData is populated in the Index method of the Controller and I have checked that it is populated with objects that contain values.</p>
  
  <p><strong>** EDIT **</strong>
  Controller code:</p>
  
  <p>public async Task Index()
      {
          if (TempDataId == null)
              return RedirectToActionPermanent("Index", "AnotherController");</p>
  
  <pre><code>    // If you debug with Visual Studio the ViewData["MyListOfObjects"] is populated 
      ViewData["MyListOfObjects"] = await Worker.GetAllListOfObjects();
  
      MyViewViewModel myViewViewModel = new MyViewViewModel 
      {
          MyListOne = await Worker.GetAllListOfObjectsWithId(TempDataId),
          MyListTwo = new List&lt;AnotherObject&gt;()
      };
  
      return View(tipomaViewViewModel);
  }
  </code></pre>
  
  <p>The data access Entity Framework Code First method, GetAllListOfObjects:</p>
  
  <pre><code>public async Task&lt;List&lt;SimpleObjectEntity&gt;&gt; GetAllListOfObjects()
  {
      try
      {
  
          return await DataContext.SimpleObjectEntities.ToListAsync();
      }
      catch (Exception ex)
      {
          Debug.WriteLine(ex);
      }
      return null;
  }
  </code></pre>
  
  <p>The Index View with the Partial GridViews</p>
  
  <pre><code>@model Models.ViewViewModel.MyViewViewModel 
  @using Internationalization
  @{
      Html.EnableClientValidation();
      ViewBag.Title = Resources.MenuLeftBar;
  }
  &lt;h4&gt;@Resources.Menu- @Resources.MenuLeftBar&lt;/h4&gt;
  &lt;div&gt;@Html.Partial("AGridViewPartial", Model.MyListOne)&lt;/div&gt;
  &lt;br/&gt;
  &lt;div&gt;@Html.Partial("AnotherWithComboboxColumnGridViewPartial", Model.MyListTwo)&lt;/div&gt;
  </code></pre>
  
  <p>The Combobox in the PopupEditForm not showing anything.</p>
  
  <p>Any idea what could be wrong?</p>
  
  <p>Regards.</p>