/// <summary> /// Handles the OnNeedRebind event of the AssociationItemsGrid control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="oArgs">The <see cref="System.EventArgs"/> instance containing the event data.</param> public void AssociationItemsGrid_OnNeedRebind(object sender, System.EventArgs oArgs) { AssociationItemsGrid.DataBind(); }
/// <summary> /// Binds the grid. /// </summary> private void BindGrid() { GridHelper.BindGrid(AssociationItemsGrid, "Catalog", "ProductAssociations"); SetAssociationItemsGridDataSource(SelectedAssociationId); AssociationItemsGrid.DataBind(); }