Hi,
I was binding the RadGrid using NeedDataSource w/ a generic collection to separate the presentation from data layer. during the binding, I kept receiving a message that points to the column for my DataKeyNames in the MasterTableView - ResultsID
I was binding the RadGrid using NeedDataSource w/ a generic collection to separate the presentation from data layer. during the binding, I kept receiving a message that points to the column for my DataKeyNames in the MasterTableView - ResultsID
<
MasterTableView ShowFooter="false" DataKeyNames="ResultsID" EditMode="InPlace"
CommandItemDisplay="TopAndBottom">
...the error points back to my generic collection for this column..the column exists within my code though....is there anything special that I should know?
protected void RadGrid1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e)
{
using (dl = new WellVentDataLayer())
{
BindingList<WellVentEvents> oEvents = dl.GetWellVentEvents();
RadGrid1.DataSource = oEvents;
}
}