This is a migrated thread and some comments may be shown as answers.

When Do Values Get Assigned To RowInfo Cells?

1 Answer 75 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 25 Jan 2013, 12:40 AM
I'm working my way through a problem and am trying to understand the flow of creating or updating a row.

I have a test app with a RadGridView that displays hierarchical data based on 2 related datatables. The form has 3 buttons: Add Parent Row, Add Child Row, Modify Parent Row.

As near as I can tell, adding a parent row fires a CreateRowInfo event, followed by a RowValidated event. On the CreateRowInfo event, there is no data in the cells, their values are all null until I get to the RowValidatedEvent.

However, modifying the parent row causes a CreateRowInfo event, but not a ValidateRow. Checking inside the CreateRowInfo event, the cell values are still all null, so where/when are these values being loaded?

1 Answer, 1 is accepted

Sort by
0
Julian Benkov
Telerik team
answered on 29 Jan 2013, 02:42 PM
Hello Matthew,

Thank you for writing.

Please share with us your RadGridView setup with some part of the application data or send us a sample application to investigate the workflow and issue locally. This will allow me to provide you with adequate and helpful assistance.

Thank you for your time and cooperation. I am looking forward to your reply. 

Kind regards,
Julian Benkov
the Telerik team
Q3'12 SP1 of RadControls for WinForms is out now. See what's new.
Tags
GridView
Asked by
Tony
Top achievements
Rank 1
Answers by
Julian Benkov
Telerik team
Share this question
or