override protected void OnInit(EventArgs e)
        {
            //
            // CODEGEN: This call is required by the ASP.NET Web Form Designer.
            //
            InitializeComponent();
            base.OnInit(e);

            if (!IsPostBack)
            {
                XmlReflectionBusinessObjectStorageProvider.Current.Reset();
            }

            FormGridRowInfoCollection newRows = (FormGridRowInfoCollection)_listOfFormGridRowInfos[FormGrid];

            BocTextValue incomeField = new BocTextValue();

            incomeField.ID = "IncomeField";
            incomeField.DataSourceControl  = CurrentObject.ID;
            incomeField.PropertyIdentifier = "Income";
            incomeField.Visible            = false;
            //  A new row
            newRows.Add(new FormGridRowInfo(
                            incomeField,
                            FormGridRowInfo.RowType.ControlInRowWithLabel,
                            BooleanField.ID,
                            FormGridRowInfo.RowPosition.AfterRowWithID));

            InitalizeReferenceFieldMenuItems();
        }
        private void PrepareAdditonalRows()
        {
            FormGridRowInfoCollection newRows = (FormGridRowInfoCollection)_listOfFormGridRowInfos[FormGrid];

            BocTextValue incomeField = new BocTextValue();

            incomeField.ID                 = "IncomeField";
            incomeField.DataSource         = CurrentObject;
            incomeField.PropertyIdentifier = "Income";
            _incomeField = incomeField;

            //  A new row
            newRows.Add(new FormGridRowInfo(
                            incomeField,
                            FormGridRowInfo.RowType.ControlInRowWithLabel,
                            MultilineTextField.ID,
                            FormGridRowInfo.RowPosition.AfterRowWithID));
        }