Hi,
I have a Web grid bound to a business collection (Csla, for those that know of it). I have DataKeyField set, and the property specified is a System.Guid. I have an event wired OnUpdateRow, and it fires fine, but e.Row.DataKey is always null. Shouldn't it be the Guid value?
Also, the grid doesn't seem to be firing the UpdateObject on the DataSource control which the grid is using.
Any ideas?
Andy
ajj3085 said:I have an event wired OnUpdateRow, and it fires fine, but e.Row.DataKey is always null.
e.Row.Cells.FromKey("ColumnKey")
I got it working.. I think the problem was I was setting the DataKeyName in the wrong spot.