Hi Joe,
Thank you for writing.
In this case it would be better to use the UserAddedRow/UserAddingRow events which are fired when the user adds the new row, and you can directly set the cell value if needed:
In addition, you can use the DefaultValuesNeeded event to add default values. Detailed information is available here: New Row.
Let me know if you have additional questions.
Regards,
Dimitar
Telerik
Thank you for writing.
In this case it would be better to use the UserAddedRow/UserAddingRow events which are fired when the user adds the new row, and you can directly set the cell value if needed:
void
radGridView1_UserAddedRow(
object
sender, GridViewRowEventArgs e)
{
e.Row.Cells[1].Value =
"test"
;
}
In addition, you can use the DefaultValuesNeeded event to add default values. Detailed information is available here: New Row.
Let me know if you have additional questions.
Dimitar
Telerik
See What's Next in App Development. Register for TelerikNEXT.