I have my grid automatically kicked into edit mode for all rows when it loads. I have a dropdown list that is populated successfully for the 1st row but the subsequent rows aren't displayed properly, it only states the name of the object for each value in the dropdown list, please see this image for what i mean. Here is my code for populating the dropdowns:
if (e.Item is GridEditableItem && e.Item.IsInEditMode) { //for edit mode string selectedCommentIndex = ""; GridEditableItem item = e.Item as GridEditableItem; GridEditManager editMan = item.EditManager; GridDropDownListColumnEditor commenteditor = (GridDropDownListColumnEditor)(editMan.GetColumnEditor("Action")); GridDropDownColumn testing = e.Item.OwnerTableView.Columns.FindByUniqueName("Action") as GridDropDownColumn; var comments = (from c in db.Entered_Comments where c.type_id == 2 select c).ToList(); commenteditor.DataSource = comments; commenteditor.DataTextField = "description"; commenteditor.DataValueField = "comment_id"; commenteditor.DataBind(); commenteditor.Visible = true; commenteditor.ComboBoxControl.SelectedValue = selectedCommentIndex; commenteditor.DropDownListControl.SelectedValue = selectedCommentIndex; commenteditor.ComboBoxControl.AllowCustomText = true; commenteditor.ComboBoxControl.EmptyMessage = Resources.DataEntry_ResultEntryByTestPracticeResource.commenteditorComboBoxControlEmptyMessage; commenteditor.ComboBoxControl.Filter = RadComboBoxFilter.Contains; commenteditor.ComboBoxControl.CssClass = "rcbDropDown"; }