protected void grd_RowCommand(object sender, FineUI.GridCommandEventArgs e) { if (e.CommandName == "DeleteAction") { OperationResult objOperationResult = new OperationResult(); // Obtener los IDs de la fila seleccionada int roleId = int.Parse(grd.DataKeys[grd.SelectedRowIndex][1].ToString()); // Borrar _objNodeBL.DeleteRoleAll(ref objOperationResult, NodeId, roleId, 1, ((ClientSession)Session["objClientSession"]).GetAsList()); //if (objOperationResult.Success != 1) //{ // Alert.ShowInTop("Error en operación:" + System.Environment.NewLine + objOperationResult.ExceptionMessage); //} BindGrid(); } }