Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1130
UltraGridRow.DataKey is null?
posted

 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

Parents
  • 8680
    posted
    ajj3085 said:
    I have an event wired OnUpdateRow, and it fires fine, but e.Row.DataKey is always null.
    I'm just guessing, but (assuming you have the Guid stored in a possibly-hiddent column) you might use:

        e.Row.Cells.FromKey("ColumnKey")

Reply Children
No Data