示例#1
0
    //-----------------------------------------------
    //Page_Load
    //-----------------------------------------------
    private void Page_Load(object sender, System.EventArgs e)
    {
        currentModule  = MessagesModuleOptions.GetType(ModuleTypeID);
        lblResult.Text = "";
        if (!IsPostBack)
        {
            PagerManager.PrepareAdminPager(pager);
            pager.Visible = false;
            HandelControls();
            SetTexts();
            LoadData();
            //-----------------------------------------------------
            if (currentModule.HasTitle)
            {
                dgMessages.Columns[1].Visible = true;
                dgMessages.Columns[3].Visible = false;
            }
            else
            {
                dgMessages.Columns[1].Visible = false;
                dgMessages.Columns[3].Visible = true;
            }
            dgMessages.Columns[7].Visible = currentModule.HasComments;
            dgMessages.Columns[8].Visible = currentModule.HasComments;


            //-----------------------------------------------------
        }
    }
示例#2
0
 //-----------------------------------------------
 //Page_Load
 //-----------------------------------------------
 private void Page_Load(object sender, System.EventArgs e)
 {
     lblResult.Text = "";
     if (!IsPostBack)
     {
         this.Page.Title = "ãæÏíæáÇÊ ÇáÚÑÖ";
         PagerManager.PrepareAdminPager(pager);
         pager.Visible = false;
         LoadData();
     }
 }
示例#3
0
 //-----------------------------------------------
 //Page_Load
 //-----------------------------------------------
 private void Page_Load(object sender, System.EventArgs e)
 {
     lblResult.Text = "";
     if (!IsPostBack)
     {
         PagerManager.PrepareAdminPager(pager);
         pager.Visible = false;
         SetTexts();
         LoadData();
     }
 }
示例#4
0
    //------------------------------------------
    #endregion

    #region ---------------Page_Load---------------
    //-----------------------------------------------
    //Page_Load
    //-----------------------------------------------
    private void Page_Load(object sender, System.EventArgs e)
    {
        lblResult.Text = "";
        if (!IsPostBack)
        {
            //SiteOptions.CheckModuleWithHandling(Resources.SiteOptions.HasComments, UsersTypes.Admin);
            PagerManager.PrepareAdminPager(pager);
            pager.Visible = false;
            HandleOptionalControls();
            LoadData();
        }
    }
示例#5
0
 //-----------------------------------------------
 //Page_Load
 //-----------------------------------------------
 private void Page_Load(object sender, System.EventArgs e)
 {
     lblResult.Text = "";
     if (!IsPostBack)
     {
         this.Page.Title = Resources.Cities.CitiesModuleTitle;
         PagerManager.PrepareAdminPager(pager);
         pager.Visible = false;
         HandelControls();
         LoadCountries();
         LoadData();
     }
 }
示例#6
0
 //-------------------------------------------------------
 #region ---------------Page_Load---------------
 //-----------------------------------------------
 //Page_Load
 //-----------------------------------------------
 private void Page_Load(object sender, System.EventArgs e)
 {
     currentModule  = UsersDataGlobalOptions.GetType(ModuleTypeID);
     lblResult.Text = "";
     if (!IsPostBack)
     {
         PagerManager.PrepareAdminPager(pager);
         pager.Visible = false;
         HandelControls();
         SetTexts();
         LoadData();
     }
 }
示例#7
0
    //------------------------------------------
    #endregion



    #region ---------------Page_Load---------------
    //-----------------------------------------------
    //Page_Load
    //-----------------------------------------------
    private void Page_Load(object sender, System.EventArgs e)
    {
        lblResult.Text = "";
        if (!IsPostBack)
        {
            Load_ddlAdvPlaces();
            if (pager != null)
            {
                PagerManager.PrepareAdminPager(pager);
                pager.Visible = false;
            }
            HandelControls();
            LoadData();
        }
    }
示例#8
0
 //-----------------------------------------------
 //Page_Load
 //-----------------------------------------------
 private void Page_Load(object sender, System.EventArgs e)
 {
     currentModule  = ItemsModulesOptions.GetType(ModuleTypeID);
     lblResult.Text = "";
     if (!IsPostBack)
     {
         PagerManager.PrepareAdminPager(pager);
         pager.Visible = false;
         HandleOptionalControls();
         SetTexts();
         LoadData();
         dgItems.Columns[1].Visible = currentModule.HasTitle;
         dgItems.Columns[5].Visible = currentModule.HasMultiPhotos;
         dgItems.Columns[6].Visible = currentModule.HasComments;
         dgItems.Columns[7].Visible = currentModule.HasComments;
         dgItems.Columns[8].Visible = currentModule.HasMessages;
         dgItems.Columns[9].Visible = currentModule.HasMessages;
     }
 }