Example #1
0
        protected void dg_RowDeleting(object sender, DevExpress.Web.Data.ASPxDataDeletingEventArgs e)
        {
            int id = Convert.ToInt32(e.Keys["PriceList_Id"]);

            objCommon.DeleteMasters("tbl_PriceList", "PriceList_Id", id, true);
            e.Cancel = true;
            ScheduleDisplay();
        }