protected void contactsGrid_ItemCommand(object sender, Telerik.Web.UI.GridCommandEventArgs e) { if (e.CommandName == "CustomEdit") { GridDataItem item = (GridDataItem)e.Item; int idProduccion = Convert.ToInt32(item["IDProduccion"].Text); string ot = item["NumeroOT"].Text; ProduccionController proControl = new ProduccionController(); if (proControl.EliminarFe(idProduccion)) { Session["Correo"] = "EliminarDatos"; LimpiarForm(); } CargarGrilla(ot); CargarDatosFecha(ot); } }