Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

getting a child to update after a record add

$
0
0
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:
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.
 
Regards,
Dimitar
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 

Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>