devexpress aspxgridview _initnewrow event canceledit


protected void grid_Hata_InitewRow(object sender, DevExpress.Web.Data.ASPxDataInitNewRowEventArgs e)
{

var grid = (ASPxGridView)sender;

  int sSeriNo = Convert.ToInt32(clsGenelFuncS.FireBildirimiIslemYapilanSeriNo());
if (sSeriNo <= 0)
{

grid.CancelEdit();
}

Yorumlar