Example #1
0
        protected void BindOptions()
        {
            this.listLang.DataSource     = PE_DAL.GetAllLang(true);
            this.listLang.DataTextField  = "name";
            this.listLang.DataValueField = "id";
            this.listLang.DataBind();
            this.listLang.ReadOnly = true;

            this.listAudience.DataSource     = PE_DAL.GetAllAudience(true);
            this.listAudience.DataTextField  = "name";
            this.listAudience.DataValueField = "id";
            this.listAudience.DataBind();
            this.listAudience.ReadOnly = true;

            this.listCancerType.DataSource     = PE_DAL.GetAllCancerType(true);
            this.listCancerType.DataTextField  = "name";
            this.listCancerType.DataValueField = "id";
            this.listCancerType.DataBind();
            this.listCancerType.ReadOnly = true;

            this.listProdFormat.DataSource     = PE_DAL.GetAllProdFormat(true);
            this.listProdFormat.DataTextField  = "name";
            this.listProdFormat.DataValueField = "id";
            this.listProdFormat.DataBind();
            this.listProdFormat.ReadOnly = true;

            this.listReadingLevel.DataSource     = PE_DAL.GetAllReadinglevel(true);
            this.listReadingLevel.DataTextField  = "name";
            this.listReadingLevel.DataValueField = "id";
            this.listReadingLevel.DataBind();
            this.listReadingLevel.ReadOnly = true;

            //Commented - NCIPL_CC Moved Series to NCIPL and ROO tabs
            //this.listSeries.DataSource = PE_DAL.GetAllSeries(true);
            //this.listSeries.DataTextField = "name";
            //this.listSeries.DataValueField = "id";
            //this.listSeries.DataBind();
            //this.listSeries.ReadOnly = true;

            this.listAward.DataSource     = PE_DAL.GetAllAward(true);
            this.listAward.DataTextField  = "name";
            this.listAward.DataValueField = "id";
            this.listAward.DataBind();
            this.listAward.ReadOnly = true;

            this.listRace.DataSource     = PE_DAL.GetAllRace(true);
            this.listRace.DataTextField  = "name";
            this.listRace.DataValueField = "id";
            this.listRace.DataBind();
            this.listRace.ReadOnly = true;

            this.CkboxListNewUpdated.DataBind();
        }
Example #2
0
        protected void BindOptions()
        {
            this.listLang.DataSource     = PE_DAL.GetAllLang(true);
            this.listLang.DataTextField  = "name";
            this.listLang.DataValueField = "id";
            this.listLang.DataBind();

            this.listAudience.DataSource     = PE_DAL.GetAllAudience(true);
            this.listAudience.DataTextField  = "name";
            this.listAudience.DataValueField = "id";
            this.listAudience.DataBind();

            this.listCancerType.DataSource     = PE_DAL.GetAllCancerType(true);
            this.listCancerType.DataTextField  = "name";
            this.listCancerType.DataValueField = "id";
            this.listCancerType.DataBind();

            this.listProdFormat.DataSource     = PE_DAL.GetAllProdFormat(true);
            this.listProdFormat.DataTextField  = "name";
            this.listProdFormat.DataValueField = "id";
            this.listProdFormat.DataBind();

            this.listReadingLevel.DataSource     = PE_DAL.GetAllReadinglevel(true);
            this.listReadingLevel.DataTextField  = "name";
            this.listReadingLevel.DataValueField = "id";
            this.listReadingLevel.DataBind();

            this.listSeries.DataSource     = PE_DAL.GetAllSeries(true);
            this.listSeries.DataTextField  = "name";
            this.listSeries.DataValueField = "id";
            this.listSeries.DataBind();

            this.listRace.DataSource     = PE_DAL.GetAllRace(true);
            this.listRace.DataTextField  = "name";
            this.listRace.DataValueField = "id";
            this.listRace.DataBind();

            this.listBookStatus.DataSource     = PE_DAL.GetAllBookstatus(true);
            this.listBookStatus.DataTextField  = "name";
            this.listBookStatus.DataValueField = "id";
            this.listBookStatus.DataBind();

            this.listSubject.DataSource     = PE_DAL.GetAllSubject(true);
            this.listSubject.DataTextField  = "name";
            this.listSubject.DataValueField = "id";
            this.listSubject.DataBind();

            this.listROOSubject.DataSource     = PE_DAL.GetAllROOUsedSubject();
            this.listROOSubject.DataTextField  = "name";
            this.listROOSubject.DataValueField = "id";
            this.listROOSubject.DataBind();

            this.listAward.DataSource     = PE_DAL.GetAllAward(true);
            this.listAward.DataTextField  = "name";
            this.listAward.DataValueField = "id";
            this.listAward.DataBind();
            //this.listtestcancertype.DataSource = State.GetStates();
            //this.listtestcancertype.DataTextField = "StateName";
            //this.listtestcancertype.DataValueField = "StateAbbr";
            //this.listtestcancertype.DataBind();

            //this.rdbtnListYesNoMCL.DataBind();

            this.listOwner.DataSource     = PE_DAL.GetAllOwners(true);
            this.listOwner.DataTextField  = "name";
            this.listOwner.DataValueField = "id";
            this.listOwner.DataBind();

            this.listSponsor.DataSource     = PE_DAL.GetAllSponsors(true);
            this.listSponsor.DataTextField  = "name";
            this.listSponsor.DataValueField = "id";
            this.listSponsor.DataBind();
        }
        protected void BindOptions()
        {
            //if (this.Mode == PubEntAdminManager.strPubGlobalAMode)
            //{
            this.listLang.DataSource         = PE_DAL.GetAllLang(true);
            this.listAudience.DataSource     = PE_DAL.GetAllAudience(true);
            this.listCancerType.DataSource   = PE_DAL.GetAllCancerType(true);
            this.listProdFormat.DataSource   = PE_DAL.GetAllProdFormat(true);
            this.listReadingLevel.DataSource = PE_DAL.GetAllReadinglevel(true);
            //NCIPL_CC this.listSeries.DataSource = PE_DAL.GetAllSeries(true);
            this.listAward.DataSource = PE_DAL.GetAllAward(true);
            this.listRace.DataSource  = PE_DAL.GetAllRace(true);
            //}
            //else
            //{
            //    this.listLang.DataSource = PE_DAL.GetAllLang(false);
            //    this.listAudience.DataSource = PE_DAL.GetAllAudience(false);
            //    this.listCancerType.DataSource = PE_DAL.GetAllCancerType(false);
            //    this.listProdFormat.DataSource = PE_DAL.GetAllProdFormat(false);
            //    this.listReadingLevel.DataSource = PE_DAL.GetAllReadinglevel(false);
            //    this.listSeries.DataSource = PE_DAL.GetAllSeries(false);
            //    this.listAward.DataSource = PE_DAL.GetAllAward(false);
            //    this.listRace.DataSource = PE_DAL.GetAllRace(false);
            //}

            this.listLang.DataTextField  = "name";
            this.listLang.DataValueField = "id";
            this.listLang.DataBind();

            this.listAudience.DataTextField  = "name";
            this.listAudience.DataValueField = "id";
            this.listAudience.DataBind();

            this.listCancerType.DataTextField  = "name";
            this.listCancerType.DataValueField = "id";
            this.listCancerType.DataBind();

            this.listProdFormat.DataTextField  = "name";
            this.listProdFormat.DataValueField = "id";
            this.listProdFormat.DataBind();

            this.listReadingLevel.DataTextField  = "name";
            this.listReadingLevel.DataValueField = "id";
            this.listReadingLevel.DataBind();

            //NCIPL_CC this.listSeries.DataTextField = "name";
            //NCIPL_CC this.listSeries.DataValueField = "id";
            //NCIPL_CC this.listSeries.DataBind();

            this.listAward.DataTextField  = "name";
            this.listAward.DataValueField = "id";
            this.listAward.DataBind();

            this.listRace.DataTextField  = "name";
            this.listRace.DataValueField = "id";
            this.listRace.DataBind();

            this.rdbtnListCopyRightMaterial.DataBind();

            this.CkboxListNewUpdated.DataBind();

            this.CkboxListNewUpdated.Attributes.Add("onclick", "javascript:GenProjSettingENewUpdatedSetting();");
        }