I got this ASPxGridView which is populated by a LinqServerModeDataSource.
What I want to do is when creating a new row one (or more) of the fields should have their values generated by code-behind.
I figured something like
protected void ASPxGridView1_RowInserting(object sender, DevExpress.Web.Data.ASPxDataInsertingEventArgs e)
{
e.NewValues["CompanyGuid"] = Guid.NewGuid();
}
But no luck there. Any advices?
Thanks