Example #1
0
        private void Page_Load(object sender, System.EventArgs e)
        {
            this.Response.Expires = -1;

            DocsPAWA.Utils.DefaultButton(this, ref this.GetCalendarControl("txtInitDtaCreazione").txt_Data, ref btn_find);
            DocsPAWA.Utils.DefaultButton(this, ref this.GetCalendarControl("txtEndDataCreazione").txt_Data, ref btn_find);


            if (!IsPostBack)
            {
                RicercaNonProtocollatiSessionMng.SetAsLoaded(this);
            }
            else
            {
                // gestione del valore di ritorno della modal Dialog
                if (this.hd_returnValueModal.Value != null && this.hd_returnValueModal.Value != string.Empty && this.hd_returnValueModal.Value != "undefined")
                {
                    string retValue = this.GestioneAvvisoModale(hd_returnValueModal.Value);

                    if (retValue != "C")
                    {
                        //rimuovo le cose appoggiate in sessione
                        RicercaNonProtocollatiSessionMng.ClearSessionData(this);
                    }
                }
            }
        }