It seems that I can't bind GridDropDownColumn to any datasources in a RadGrid. Is there anyway where I can bind it to the datasource through GridDropDownColumn? as you can see, StateColumn.Datasource does not exist.
GridDropDownColumn StateColumn = new GridDropDownColumn(); |
StateColumn.ListTextField = "Text"; |
StateColumn.ListValueField = "Value"; |
StateColumn.DataField = "StateOrRegion"; |
StateColumn.HeaderText = "State"; |
//XmlDataSource States = new XmlDataSource(); //States.DataFile = "~Content/States.xml"; //States.ID = "StateDatasource"; |