Ejemplo n.º 1
0
 private void PopulateStacks()
 {
     StacksRadioButtonList.DataSource     = _platformStackHierarchy.GatherPlatformStacks(this.MajorFilter, this.MinorFilter, this.ArchitectureFilter, this.BuildFilter);
     StacksRadioButtonList.DataTextField  = "Name";
     StacksRadioButtonList.DataValueField = "Name";
     StacksRadioButtonList.DataBind();
 }
Ejemplo n.º 2
0
        private void SetPageState(string pPageState)
        {
            if (pPageState == INFRASTUCTURE_PAGE_STATE)
            {
                EnableDisableCapability(false);
                EnableDisableLogicalSystemGroup(false);
                this.DataBind();

                CoarseFilterDropDownList.Enabled = false;
                FineFilterDropDownList.Enabled   = false;
                ArchitectureDropDownList.Enabled = false;
                BuildDropDownList.Enabled        = false;
                StacksRadioButtonList.DataSource = null;
                StacksRadioButtonList.DataBind();

                AcceptButton.Enabled = false;
            }
            else if (pPageState == CAPABILITY_PAGE_STATE)
            {
                EnableDisableCapability(true);
                EnableDisableLogicalSystemGroup(false);
                this.DataBind();

                CoarseFilterDropDownList.Enabled = false;
                FineFilterDropDownList.Enabled   = false;
                ArchitectureDropDownList.Enabled = false;
                BuildDropDownList.Enabled        = false;
                StacksRadioButtonList.DataSource = null;
                StacksRadioButtonList.DataBind();

                AcceptButton.Enabled = false;
            }
            else if (pPageState == LSG_PAGE_STATE)
            {
                EnableDisableLogicalSystemGroup(true);
                this.DataBind();

                CoarseFilterDropDownList.Enabled = false;
                FineFilterDropDownList.Enabled   = false;
                ArchitectureDropDownList.Enabled = false;
                BuildDropDownList.Enabled        = false;
                StacksRadioButtonList.DataSource = null;
                StacksRadioButtonList.DataBind();

                AcceptButton.Enabled = false;
            }
            else if (pPageState == STACK_PAGE_STATE)
            {
                CoarseFilterDropDownList.Enabled = true;
                FineFilterDropDownList.Enabled   = true;
                ArchitectureDropDownList.Enabled = true;
                BuildDropDownList.Enabled        = true;
                PopulateStacks();

                AcceptButton.Enabled = false;
            }
            else if (pPageState == FINAL_PAGE_STATE)
            {
                AcceptButton.Enabled = true;
            }
        }