protected void Page_Load(object sender, EventArgs e)
        {
            if (!TimePointContext.Current.UseCurrentTime)
            {
                this.btn_addEntity.Enabled = this.btn_addEntityAndMapping.Enabled = this.btn_copyEntity.Enabled = this.btn_delEntity.Enabled = this.btn_moveEntity.Enabled = btn_Import.Enabled = false;
            }
            if (Page.IsPostBack == false && Page.IsCallback == false)
            {
                this.CurrentAdvancedSearchCondition = new PageAdvancedSearchCondition();

                string islast = Request.QueryString["islast"];

                if (string.IsNullOrEmpty(islast))
                {
                    btn_addEntity.Visible = false;
                    //btn_copyEntity.Visible = false;
                    //btn_moveEntity.Visible = false;
                    btn_addEntityAndMapping.Visible = false;
                    //btn_Export.Visible = false;
                    btn_Import.Visible = false;
                }
                this.DeluxeSearch.UserCustomSearchConditions = DbUtil.LoadSearchCondition(ThisPageSearchResourceKey, "Default");
            }
            this.searchBinding.Data = this.CurrentAdvancedSearchCondition;
        }
		protected void Page_Load(object sender, EventArgs e)
		{
			Util.EnsureOperationSafe();
			this.Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);

			Util.InitSecurityContext(this.notice);

			this.Page.Response.CacheControl = "no-cache";

			if (this.IsPostBack == false)
			{
				var appID = Request.QueryString["appId"];
				if (appID != null)
				{
					if (this.appList.SelectedValue != appID)
					{
						this.appList.SelectedValue = appID;
					}
				}

				this.DeluxeSearch.UserCustomSearchConditions = DbUtil.LoadSearchCondition(ThisPageSearchResourceKey, "Default");
				this.CurrentAdvancedSearchCondition = new PageAdvancedSearchCondition();

				this.gridMain.PageSize = ProfileUtil.PageSize;
			}

			this.searchBinding.Data = this.CurrentAdvancedSearchCondition;
		}
Exemple #3
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Util.EnsureOperationSafe();
            this.Response.Cache.SetCacheability(System.Web.HttpCacheability.NoCache);

            Util.InitSecurityContext(this.notice);

            this.Page.Response.CacheControl = "no-cache";

            if (this.IsPostBack == false)
            {
                var appID = Request.QueryString["appId"];
                if (appID != null)
                {
                    if (this.appList.SelectedValue != appID)
                    {
                        this.appList.SelectedValue = appID;
                    }
                }

                this.DeluxeSearch.UserCustomSearchConditions = DbUtil.LoadSearchCondition(ThisPageSearchResourceKey, "Default");
                this.CurrentAdvancedSearchCondition          = new PageAdvancedSearchCondition();

                this.gridMain.PageSize = ProfileUtil.PageSize;
            }

            this.searchBinding.Data = this.CurrentAdvancedSearchCondition;
        }
        protected override void OnLoad(EventArgs e)
        {
            base.OnLoad(e);
            this.Response.Cache.SetCacheability(HttpCacheability.NoCache);
            if (this.IsPostBack == false)
            {
                this.DeluxeSearch.UserCustomSearchConditions = DbUtil.LoadSearchCondition(ThisPageSearchResourceKey, "Default");
                this.CurrentAdvancedSearchCondition          = new PageAdvancedSearchCondition();
            }

            this.searchBinding.Data = this.CurrentAdvancedSearchCondition;
        }
Exemple #5
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Util.InitSecurityContext(this.notice);

            if (Page.IsPostBack == false)
            {
                this.DeluxeSearch.UserCustomSearchConditions = DbUtil.LoadSearchCondition(ThisPageSearchResourceKey, "Default");
                this.CurrentAdvancedSearchCondition          = new PageAdvancedSearchCondition();

                this.views.ActiveViewIndex = ProfileUtil.GeneralViewModeIndex;
                this.grid2.PageSize        = this.gridMain.PageSize = ProfileUtil.PageSize;
            }

            this.searchBinding.Data = this.CurrentAdvancedSearchCondition;
        }
		protected void Page_Load(object sender, EventArgs e)
		{
			Util.EnsureOperationSafe();
			this.Page.Response.CacheControl = "no-cache";

			Util.InitSecurityContext(this.notice);

			if (this.IsPostBack == false)
			{
				this.DeluxeSearch.UserCustomSearchConditions = DbUtil.LoadSearchCondition(ThisPageSearchResourceKey, "Default");
				this.CurrentAdvancedSearchCondition = new PageAdvancedSearchCondition();

				this.gridMain.PageSize = ProfileUtil.PageSize;
			}

			this.searchBinding.Data = this.CurrentAdvancedSearchCondition;
		}
Exemple #7
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Util.EnsureOperationSafe();
            this.Page.Response.CacheControl = "no-cache";

            Util.InitSecurityContext(this.notice);

            if (this.IsPostBack == false)
            {
                this.DeluxeSearch.UserCustomSearchConditions = DbUtil.LoadSearchCondition(ThisPageSearchResourceKey, "Default");
                this.CurrentAdvancedSearchCondition          = new PageAdvancedSearchCondition();

                this.gridMain.PageSize = ProfileUtil.PageSize;
            }

            this.searchBinding.Data = this.CurrentAdvancedSearchCondition;
        }
Exemple #8
0
        protected void Page_Load(object sender, EventArgs e)
        {
            this.Page.Response.CacheControl = "no-cache";

            if (this.IsPostBack == false)
            {
                this.DeluxeSearch.UserCustomSearchConditions = DbUtil.LoadSearchCondition(ThisPageSearchResourceKey, "Default");
                this.CurrentAdvancedSearchCondition          = new PageAdvancedSearchCondition();
                if (string.IsNullOrEmpty(this.gridMain.SortExpression))
                {
                    this.gridMain.Sort("CreateTime", SortDirection.Descending);
                }

                //this.gridMain.PageSize = ProfileUtil.PageSize;
            }

            this.searchBinding.Data = this.CurrentAdvancedSearchCondition;
        }
		protected void Page_Load(object sender, EventArgs e)
		{
			this.Page.Response.CacheControl = "no-cache";

			if (this.IsPostBack == false)
			{
				this.DeluxeSearch.UserCustomSearchConditions = DbUtil.LoadSearchCondition(ThisPageSearchResourceKey, "Default");
				this.CurrentAdvancedSearchCondition = new PageAdvancedSearchCondition();
				if (string.IsNullOrEmpty(this.gridMain.SortExpression))
				{
					this.gridMain.Sort("CreateTime", SortDirection.Descending);
				}

				this.gridMain.PageSize = ProfileUtil.PageSize;
			}

			this.searchBinding.Data = this.CurrentAdvancedSearchCondition;
		}
		protected void Page_Load(object sender, EventArgs e)
		{
			Util.InitSecurityContext(this.notice);

			if (Page.IsPostBack == false)
			{
				this.DeluxeSearch.UserCustomSearchConditions = DbUtil.LoadSearchCondition(ThisPageSearchResourceKey, "Default");
				this.CurrentAdvancedSearchCondition = new PageAdvancedSearchCondition();

				this.views.ActiveViewIndex = ProfileUtil.GeneralViewModeIndex;
				this.grid2.PageSize = this.gridMain.PageSize = ProfileUtil.PageSize;
			}

			this.searchBinding.Data = this.CurrentAdvancedSearchCondition;
		}