//----------------------------------------------- //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; //----------------------------------------------------- } }
//----------------------------------------------- //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(); } }
//----------------------------------------------- //Page_Load //----------------------------------------------- private void Page_Load(object sender, System.EventArgs e) { lblResult.Text = ""; if (!IsPostBack) { PagerManager.PrepareAdminPager(pager); pager.Visible = false; SetTexts(); LoadData(); } }
//------------------------------------------ #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(); } }
//----------------------------------------------- //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(); } }
//------------------------------------------------------- #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(); } }
//------------------------------------------ #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(); } }
//----------------------------------------------- //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; } }