示例#1
0
 protected void GridView_Asignaciones_InitNewRow(object sender, DevExpress.Web.Data.ASPxDataInitNewRowEventArgs e)
 {
     try
     {
         GridView_Asignaciones.CancelEdit();
         Session["RegistrarAsignacion"] = "0";
         Response.Redirect("RegistrarAsignacion.aspx", true);
     }
     catch (Exception Ex)
     {
         FG.Controlador_Error(Ex, Page.Response);
     }
 }
示例#2
0
 protected void GridView_Asignaciones_StartRowEditing(object sender, DevExpress.Web.Data.ASPxStartRowEditingEventArgs e)
 {
     try
     {
         GridView_Asignaciones.CancelEdit();
         Session["RegistrarAsignacion"] = e.EditingKeyValue;
         Response.Redirect("RegistrarAsignacion.aspx", true);
     }
     catch (Exception Ex)
     {
         FG.Controlador_Error(Ex, Page.Response);
     }
 }