Exemplo n.º 1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            this.Response.Cache.SetCacheability(HttpCacheability.NoCache);

            if (curClient == null)
            {
                return;
            }

            GetJob();
            if (curJob == null)
            {
                return;
            }

            // if it's not this client's job
            // && not admin user, don't show anything
            CheckJobIsForClient();
            UpdatePickedUpJob();
            SetControls();

            HitHandler hit1 = new HitHandler(this, this.pageId);

            hit1.HandlePage();
        }
Exemplo n.º 2
0
        protected void Page_Load(object sender, EventArgs e)
        {
            this.header1.PageInfo = PageInfo.DemosRelative;

            HesterConsultants.AppCode.HitHandler hit1 = new HitHandler(this, this.pageId);
            hit1.HandlePage();
        }
Exemplo n.º 3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            pageId = 16;
            HitHandler hit1 = new HitHandler(this, pageId);

            hit1.HandlePage();
        }
Exemplo n.º 4
0
        protected void Page_Load(object sender, EventArgs e)
        {
            isAdmin = User.IsInRole(Settings.Default.RoleAdmin);
            GetData();
            this.lvFoundJobs.DataBind(); // need this b/c of viewstate

            HitHandler hit1 = new HitHandler(this, this.pageId);

            hit1.HandlePage();
        }
Exemplo n.º 5
0
        protected void Page_Load(object sender, EventArgs e)
        {
            this.odsCurrentInvoice.SelectParameters.Clear();

            GetAccountData();
            SetControls();

            HitHandler hit1 = new HitHandler(this, pageId);

            hit1.HandlePage();
        }
Exemplo n.º 6
0
        protected void Page_Load(object sender, EventArgs e)
        {
            //debug
            //CacheLayer.ClearCache();

            header1.PageInfo = PageInfo.HomeRelative;

            HesterConsultants.AppCode.HitHandler hit1 = new HitHandler(this, this.pageId);
            hit1.HandlePage();

            SetControls();
        }
Exemplo n.º 7
0
        protected void Page_Load(object sender, EventArgs e)
        {
            FormsAuthentication.SignOut();
            this.Session[Global.SESSION_CLIENT] = null;

            this.Response.Redirect("/", false);

            HitHandler hit1 = new HitHandler(this, this.pageId);

            hit1.HandlePage();

            //this.Session.Abandon();
            HttpContext.Current.ApplicationInstance.CompleteRequest();
        }
Exemplo n.º 8
0
        protected void Page_Load(object sender, EventArgs e)
        {
            this.Response.Cache.SetCacheability(HttpCacheability.NoCache);

            if (curClient == null)
            {
                return;
            }

            SetControls();

            HitHandler hit1 = new HitHandler(this, this.pageId);

            hit1.HandlePage();
        }
Exemplo n.º 9
0
        protected void Page_Load(object sender, EventArgs e)
        {
            this.Response.Cache.SetCacheability(HttpCacheability.NoCache);
            this.header1.PageInfo = PageInfo.ClientsRelative;

            if (curClient == null)
            {
                return;
            }

            GetData();

            HitHandler hit1 = new HitHandler(this, this.pageId);

            hit1.HandlePage();
        }
Exemplo n.º 10
0
        protected void Page_Load(object sender, EventArgs e)
        {
            if (curClient == null)
            {
                return;
            }

            this.Response.Cache.SetCacheability(HttpCacheability.NoCache);

            Debug.WriteLine("postback: " + this.IsPostBack.ToString());
            if (!this.IsPostBack)
            {
                SetControls();
            }

            HitHandler hit1 = new HitHandler(this, this.pageId);

            hit1.HandlePage();
        }