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
1250
RowAdding event, how get row object?
posted

Hi,

Please help me with following problem, I am using RowAdding server event,

On the server-side in the event handler  I get RowID (RowAddingEventArgs.RowID),

How knowing this RowID I can get corresponding GridRecord object?

If it is easier to do for RowAdded server event it is acceptable.

Thank you,

Alexander

Parents
  • 33839
    Suggested Answer
    posted

    Hi Alexander,

    At the RowAdding event, the row has not actually been added to the DataSource or grid yet, which is why you get the id that WILL identify the row.  If you need the actual row, handle RowAdded as you said.

    regards,

    David Young

Reply Children
No Data