I'm attempting to use a RadGrid that will allow a user to enter a new row. I have the CommandItemTemplate created, and I have everything wired up so that the proper server side method is being run when I click the insert button. The problem is I'm not getting any of the data I'm trying to add. The row has one editable column, and in that column's EditItemTemplate is a RadComboBox. When I run through the InsertCommand method, no matter what I selected in that combo box, the selected index I get is -1.
To grab the combo box, I'm using:
protected void TrackGrid_InsertCommand(object source, GridCommandEventArgs e) {
GridEditableItem editedItem = e.Item as GridEditableItem;
RadComboBox titleBox = editedItem["Title"].FindControl("RadComboBox1") as RadComboBox;
}
Is there some other way I should be trying to grab this data?
To grab the combo box, I'm using:
protected void TrackGrid_InsertCommand(object source, GridCommandEventArgs e) {
GridEditableItem editedItem = e.Item as GridEditableItem;
RadComboBox titleBox = editedItem["Title"].FindControl("RadComboBox1") as RadComboBox;
}
Is there some other way I should be trying to grab this data?