title: Binding GridViewComboBoxColumn to a datasource at Page_Load
body: <p>I have a grid with a GridViewComboBoxColumn column.  I have a datasource that is a list of objects.  I need to assign the data in Page_Load.  This does not work:</p>
  
  <pre><code>protected void Page_Load() {
      GridViewDataComboBoxColumn gridColumn = Grid.Columns["NumericData"]
          as GridViewDataComboBoxColumn;
  
      gridColumn.PropertiedropsComboBox.DataSource = DataSourceMadeUpOfAList;
      gridColumn.PropertiesComboBox.TextField = "SpelledOutNumbers";
      gridColumn.PropertiesComboBox.ValueField = "ActualNumbers";
  ...
  </code></pre>
  
  <p>I have looked here: <a href="https://stackoverflow.com/questions/5898136/binding-gridviewcomboboxcolumn-to-a-datasource">Binding GridViewComboBoxColumn to a datasource</a></p>
  
  <p>And that does work, but only in the edit form.  I have my filter row enabled and those drop downs need to be populated as well.  The aforementioned solution does not work with the filters (for obvious reasons).  Any ideas are appreciated.</p>
  
  <p>Thanks.</p>