/// <summary> /// Binds the line items grid. /// </summary> private void BindTaxValuesGrid() { object dataSource = GetTaxValuesDataSource(); if (dataSource != null) { TaxValuesGrid.DataSource = dataSource; TaxValuesGrid.DataBind(); } }
/// <summary> /// Handles the NeedRebind event of the TaxValuesGrid control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="System.EventArgs"/> instance containing the event data.</param> void TaxValuesGrid_NeedRebind(object sender, EventArgs e) { TaxValuesGrid.DataBind(); }