// Return a clone of the DefaultOutputColumnInfo internal static OutputColumnInfo[] GetDefaultOutputColumnInfo() { var result = new OutputColumnInfo[DefaultOutputColumnInfo.Length]; for (var inx = 0; inx < result.Length; inx++) { result[inx] = DefaultOutputColumnInfo[inx].Clone(); } return(result); }
private void Page_Load(object sender, EventArgs e) { Feedback.Text = string.Empty; if (IsPostBack) { _CurrentOutputColumnInfo = ViewState["OutputColumnInfo"] as OutputColumnInfo[]; } else { _CurrentOutputColumnInfo = OutputColumnInfo.GetDefaultOutputColumnInfo(); if (!IsMasterUser) { HandleSecurityException(); } Title = H1.InnerText = "Addresses"; } BuildStatesCheckboxTable(); BuildOutputColumnTable(); }
private void AddColumn(HtmlTable table, OutputColumnInfo columnInfo) { AddColumn(table, columnInfo.Include, columnInfo.IdName, columnInfo.LabelName, columnInfo.HeadingName); }