I'm using LLBL DataCollections to bind to the grid which always works perfect. Is there a way to get the instance of the row as the data object entity that it holds? The only alternative I see is looping the values. Thanks!
| void rgSystemSettings_EditCommand(object source, Telerik.Web.UI.GridCommandEventArgs e) |
| { |
| ((MyDataEntity)e.Item.DataItem).Save(); |
| } |
| protected void rgSystemSettings_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e) |
| { |
| MyDataCollection col = new MyDataCollection(); |
| col.GetMulti(null); |
| rgSystemSettings.DataSource = col; |
| } |