protected void Page_Load(object sender, EventArgs e) { Micajah.Common.Pages.MasterPage.InitializeSetupPage(this.Page); if (!IsPostBack) { this.LoadResources(); List.Sort("Rank", SortDirection.Ascending); } }
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); } }