예제 #1
0
        protected void Page_Load(object sender, EventArgs e)
        {
            Micajah.Common.Pages.MasterPage.InitializeSetupPage(this.Page);

            if (!IsPostBack)
            {
                this.LoadResources();

                List.Sort("Rank", SortDirection.Ascending);
            }
        }
예제 #2
0
        private void ListDataBind()
        {
            InjectButton.Visible = (!LoginProvider.Current.LoginIsOrganizationAdministrator(m_UserContext.UserId, m_OrgId));

            List.SelectedIndex = -1;
            List.Visible       = true;
            List.DataBind();
            if (string.IsNullOrEmpty(List.SortExpression))
            {
                List.Sort("Name", SortDirection.Ascending);
            }
        }