title: asp.net mvc how to bind to an empty checkbox value?
body: <p>I am modifying an existing asp.net mvc application that creates a list of checkboxes from a list on the model, with property name "MyModelProperty" and additionally generates one more input element for "Select All" which has the following html: </p>
  
  <pre><code>&lt;input name="MyModelProperty_SelectAll" type="checkbox" CHECKED="checked" value=""/&gt;
  </code></pre>
  
  <p>What is the property declaration in the model that would create a boolean property that would bind to this existing element in the view?</p>
  
  <p>I tried, 'public bool MyModelProperty_SelectAll {get;set;}' but it was returning null.  Is that because the value is an empty string in the html input control?</p>