コード例 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Response.Expires = -1;

            this.infoUtente = ((WSConservazioneLocale.InfoUtente)Session["infoutCons"]);


            if (!IsPostBack)
            {
                amm = ConservazioneWA.Utils.ConservazioneManager.GetInfoAmmCorrente(this.infoUtente.idAmministrazione);
                this.lbl_amm.Text = this.amm.Codice + " - " + this.amm.Descrizione;

                this.btnFind.Attributes.Add("onmouseover", "this.className='cbtnHover';");
                this.btnFind.Attributes.Add("onmouseout", "this.className='cbtn';");
            }
            else
            {
                //per reload pagina dopo che un'istanza è stata firmata
                //ricarico l'elenco in modo da rimuoverla dall'elenco delle non firmate
                if (this.reloadData.Value == "1")
                {
                    this.reloadData.Value = "0";

                    List <WSConservazioneLocale.FiltroRicerca> filters = this.creaFiltro();
                    //this.dg_StampeCons.CurrentPageIndex = 0;
                    LoadData(filters);
                }
            }
        }
コード例 #2
0
 protected void GestioneGrafica()
 {
     this.btnFind.Attributes.Add("onmouseover", "this.className='cbtnHover';");
     this.btnFind.Attributes.Add("onmouseout", "this.className='cbtn';");
     WSConservazioneLocale.InfoUtente infoUtente = ((WSConservazioneLocale.InfoUtente)Session["infoutCons"]);
     amm = Utils.ConservazioneManager.GetInfoAmmCorrente(infoUtente.idAmministrazione);
     this.lbl_amm.Text = this.amm.Codice + " - " + this.amm.Descrizione;
 }
コード例 #3
0
 protected void Page_Load(object sender, EventArgs e)
 {
     Response.Expires = -1;
     this.infoUtente  = ((WSConservazioneLocale.InfoUtente)Session["infoutCons"]);
     amm = Utils.ConservazioneManager.GetInfoAmmCorrente(this.infoUtente.idAmministrazione);
     InizializzaPagina();
     //menuTop.ProfiloUtente = CalcolaProfiloUtente();
     //menuTop.ProfiloUtente = ConservazioneManager.CalcolaProfiloUtente(this.infoUtente.idPeople, this.infoUtente.idAmministrazione);
     menuTop.ProfiloUtente = "CONSERVAZIONE";
 }
コード例 #4
0
 protected void GestioneGrafica()
 {
     amm = Utils.ConservazioneManager.GetInfoAmmCorrente(infoUtente.idAmministrazione);
     this.lbl_amm.Text = this.amm.Codice + " - " + this.amm.Descrizione;
     this.btnFind.Attributes.Add("onmouseover", "this.className='cbtnHover';");
     this.btnFind.Attributes.Add("onmouseout", "this.className='cbtn';");
     this.btnExportPdf.Attributes.Add("onmouseover", "this.className='cbtnHover';");
     this.btnExportPdf.Attributes.Add("onmouseout", "this.className='cbtn';");
     this.btnExportXls.Attributes.Add("onmouseover", "this.className='cbtnHover';");
     this.btnExportXls.Attributes.Add("onmouseout", "this.className='cbtn';");
 }
コード例 #5
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void Page_Load(object sender, EventArgs e)
        {
            Response.Expires = -1;
            this.infoUtente  = ((WSConservazioneLocale.InfoUtente)Session["infoutCons"]);
            amm = Utils.ConservazioneManager.GetInfoAmmCorrente(this.infoUtente.idAmministrazione);
            // Recupero user che si è loggato
            DocsPaWR.Utente user = (DocsPaWR.Utente)Session["userData"];

            InizializzaPagina(user);

            //menuTop.ProfiloUtente = CalcolaProfiloUtente();
            //menuTop.ProfiloUtente = ConservazioneManager.CalcolaProfiloUtente(this.infoUtente.idPeople, this.infoUtente.idAmministrazione);
            menuTop.ProfiloUtente = "ESIBIZIONE";
        }
コード例 #6
0
 protected void GestioneGrafica()
 {
     this.lblA.Visible = false;
     this.lbl_dataCreazioneA.Visible = false;
     this.lbl_finedataC.Visible      = false;
     this.txt_fineDataC.Visible      = false;
     this.lbl_finedataA.Visible      = false;
     this.txt_fineDataA.Visible      = false;
     this.btnFind.Attributes.Add("onmouseover", "this.className='cbtnHover';");
     this.btnFind.Attributes.Add("onmouseout", "this.className='cbtn';");
     this.tbAnnoProtocollo.Text = DateTime.Now.Year.ToString();
     amm = Utils.ConservazioneManager.GetInfoAmmCorrente(infoUtente.idAmministrazione);
     this.lbl_amm.Text = this.amm.Codice + " - " + this.amm.Descrizione;
 }
コード例 #7
0
 protected void GestioneGrafica()
 {
     amm = Utils.ConservazioneManager.GetInfoAmmCorrente(infoUtente.idAmministrazione);
     this.lbl_amm.Text = this.amm.Codice + " - " + this.amm.Descrizione;
 }