protected void btnbuscarmaterialpopup_Click(object sender, EventArgs e)
        {
            try
            {
                Material mat = new Material();
                mat.Nombre      = txtnombrepopup.Text;
                mat.DscMaterial = txtdescripcionpopup.Text;
                mat.Categoria   = txtcategoriapopup.Text;
                mat.Modelo      = txtmodelopopup.Text;

                DataTable material = AtencionPeluqueriaBuss.BusquedaMaterial(mat);
                ViewState["_datapopup"] = material;

                this.grvResultadoPopup.DataSource = material;
                this.grvResultadoPopup.DataBind();
                this.upModal.Update();
            }
            catch (Exception ex)
            {
                ScriptManager.RegisterClientScriptBlock(this, this.GetType(), "Mensaje", "$.growl.warning({ title: 'Mensaje Sistema', message: 'Error interno del sistema.'});", true);
            }
        }