Ejemplo n.º 1
0
        private void FilliQuran()
        {
            //fill ddSelQuran
            this.ddSelQuran.DataSource = Quran.GetiQurans(this.SiteId);
            this.ddSelQuran.DataBind();
            if (int.Parse(hdnQuranID.Value) > 0)
            {
                this.quranID = int.Parse(hdnQuranID.Value);
            }
            else
            {
                this.quranID = int.Parse(ddSelQuran.SelectedItem.Value.ToString());
            }

            hdnQuranID.Value = this.quranID.ToString();

            ddSelQuran.ClearSelection();
            ddSelQuran.Items.FindByValue(this.quranID.ToString()).Selected = true;

            Quran q = new Quran(SiteId, this.quranID);

            this.quranLanguage = q.QLanguage;
            hdnQLang.Value     = q.QLanguage;
            this.isTranslation = !q.IsDefault;

            if (this.quranID > 0)
            {
                FilliSura();
            }
        }
Ejemplo n.º 2
0
        private void FilliQuran()
        {
            //fill ddSelQuran
            this.ddSelQuran.DataSource = Quran.GetiQurans(this.SiteId);
            this.ddSelQuran.DataBind();
            if (int.Parse(hdnQuranID.Value) > 0)
            {
                this.quranID = int.Parse(hdnQuranID.Value);
            }
            else
            {
                this.quranID = int.Parse(ddSelQuran.SelectedItem.Value.ToString());
            }

            hdnQuranID.Value = this.quranID.ToString();

            ddSelQuran.ClearSelection();
            ddSelQuran.Items.FindByValue(this.quranID.ToString()).Selected = true;

            if (this.quranID > 0)
            {
                BindGrid();
            }
        }
Ejemplo n.º 3
0
 private void FilliQuran()
 {
     this.ddQuran.DataSource = Quran.GetiQurans(this.siteID);
     this.ddQuran.DataBind();
 }