public override void Initialize() { base.Initialize(); _drawItems = new DrawRepeaterItem[this.Rows][]; for (int r = 0; r < this.Rows; r++) { _drawItems[r] = new DrawRepeaterItem[this.Columns]; for (int c = 0; c < this.Columns; c++) { _drawItems[r][c] = new DrawRepeaterItem(this, c, r); } } }
public void SetupItemDataBind() { if (_drawItems != null) { for (int r = 0; r < _drawItems.Length; r++) { for (int c = 0; c < _drawItems[r].Length; c++) { DrawRepeaterItem dg = _drawItems[r][c]; if (dg != null) { dg.SetupItemDataBind(); } } } } }