示例#1
0
            // 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);
            }
示例#2
0
        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();
        }
示例#3
0
 private void AddColumn(HtmlTable table, OutputColumnInfo columnInfo)
 {
     AddColumn(table, columnInfo.Include, columnInfo.IdName,
               columnInfo.LabelName, columnInfo.HeadingName);
 }