protected override void OnUnload(EventArgs e) { foreach (var control in InnerDataSource.GetAllBoundControls().ToArray()) { InnerDataSource.Unregister(control); } base.OnUnload(e); }
public ReadOnlyCollection <IBusinessObjectBoundControl> GetAllBoundControls() { return(InnerDataSource.GetAllBoundControls()); }