示例#1
0
    protected void btnrechazar_Click(object sender, EventArgs e)
    {
        try
        {
            if (Request.Params["Id"] != null)
            {
                _log.CustomWriteOnLog("CotizarSolicitud", "-------------------------------------------------- Rechaza Cotizacion ----------------------------------------");
                objDtoSolicitud.PK_IS_Cod = int.Parse(Request.Params["Id"]);

                objCtrSolicitud.RechazarP(objDtoSolicitud);


                Utils.AddScriptClientUpdatePanel(UpdatePanel1, "showSuccessMessage3()");
            }
        }
        catch (Exception ex)
        {
            _log.CustomWriteOnLog("CotizarSolicitud", "Error  = " + ex.Message + "posicion" + ex.StackTrace);
        }
    }