In my grid, I have a user control that provides functionality for my insert/updates. I am getting the all too famous error:
"DataBinding: 'Telerik.WebControls.GridInsertionObject' does not contain a property with the name"
Now, in my code I have so far been successful with this issue by using the following coding:
void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)
if (e.CommandName == RadGrid.InitInsertCommandName)
ListDictionary newValues = new ListDictionary();
"BudgetWSTypeID"] = string.Empty;
"ProgramNameID"] = string.Empty;
"FiscalYearID"] = string.Empty;
However, if you look at the below control (where the problem is occuring), you will notice that the selected value is coming from "DataItem.Grantee.GranteeID" -- how do I add this to my listDictionary for this to work? Perhaps I need to use a different object?
rad:RadComboBox selectedvalue='<%# DataBinder.Eval( Container, "DataItem.Grantee.GranteeID") %>' MarkFirstMatch="true"