title: MVC 3 DevExpress - Model Returned to Controller is Empty
body: <p>The problem is really simple, but I just can't seem to solve it. I am using Razor engine with DevExpress combo box.</p>
  
  <p>I have this code:</p>
  
  <p><strong>MODEL:</strong></p>
  
  <pre><code>public class TestModel
  {
      public string Name { get; set; }
      public List&lt;Role&gt; Roles { get; set; }
  }
  
  public class Role
  {
      public int RoleId { get; set; }
      public string RoleName { get; set; }
  }
  </code></pre>
  
  <p><strong>CONTROLLER</strong></p>
  
  <pre><code>    public ActionResult OpenTest()
      {
          TestModel tm = new TestModel( );
          tm.Roles = new List&lt;Role&gt;( );
  
          tm.Roles.Add( new Role( ) { RoleId = 1, RoleName = "Role 1" } );
          tm.Roles.Add( new Role( ) { RoleId = 2, RoleName = "Role 2" } );
          tm.Roles.Add( new Role( ) { RoleId = 3, RoleName = "Role 3" } );
  
          return View( tm );
      }
  </code></pre>
  
  <p>Here I can successfully open the view, and data is displayed fine:</p>
  
  <p><strong>VIEW</strong></p>
  
  <pre><code>@model TestDx.Models.TestModel
  @{
      ViewBag.Title = "OpenTest";
  }
  &lt;script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  
  @using ( Html.BeginForm( ) )
  {
                          @Html.DevExpress( ).ComboBox(
                      settings =&gt;
                      {
                          settings.Name = "TestDx.Models.TestModel.Roles";
                          settings.Width = 120;
                          settings.SelectedIndex = 0;
                          settings.Properties.DropDownWidth = 300;
                          settings.Properties.DropDownStyle = DevExpress.Web.ASPxEditors.DropDownStyle.DropDownList;
                          settings.Properties.EnableCallbackMode = false;
                          settings.Properties.CallbackPageSize = 30;
                          settings.Properties.IncrementalFilteringMode = DevExpress.Web.ASPxEditors.IncrementalFilteringMode.StartsWith;
                          settings.Properties.TextFormatString = "{0}";
                          settings.Properties.ValueField = "RoleID";
                          settings.Properties.ValueType = typeof( int );
  
                          settings.Properties.Columns.Add( "RoleID", "RoleID", 10 );
                          settings.Properties.Columns.Add( "RoleName", "RoleName", 100 );
  
                      } ).BindList( Model.Roles ).GetHtml( )
          &lt;br /&gt;
              @Html.DevExpress().Button(
                      settings =&gt;
                      {
                          settings.Name = "btnSave";
                          settings.ClientEnabled = true;
                          settings.ControlStyle.CssClass = "button";
                          settings.ClientVisible = true;
  
                          settings.Text = "save";
                          settings.UseSubmitBehavior = true;
                          settings.ControlStyle.Font.Bold = true;
                      }).GetHtml()
  }
  </code></pre>
  
  <p>Now all this is very simple, and I am not doing anything with it, just dispaying it. But when I click Save button, I get back to the controller, to this method:</p>
  
  <pre><code>[HttpPost]
          public ActionResult OpenTest( [ModelBinder( typeof( DevExpressEditorsBinder ) )]TestModel model )
          {
              if ( ModelState.IsValid )
              {
                 //
              }
  
              return View( model );
          }
  </code></pre>
  
  <p>...and Model here is empty, Roles property is 0. I cannot understand why is that? Event the combo box name is the same as the property it is binding to, and I am sure using a recommended DevExpress binder.</p>
  
  <p>Thanks.</p>