protected void save_click(object sender, EventArgs args) { try { EntradaCtrl.EntradaPreCargaAdd(getFormValues()); ClientScript.RegisterStartupScript(this.GetType(), "alertSave", "<script type=\"text/javascript\">alert('Se guardo el registro correctamente');window.location.href='frmPreArribo.aspx';</script>"); } catch (Exception e) { ((MstCasc)this.Master).setError = e.Message; } }