protected void InternalPerformDataBinding() { HierarchicalDataBoundControlAdapter adapter = Adapter as HierarchicalDataBoundControlAdapter; if (adapter != null) { adapter.PerformDataBinding(); } else { PerformDataBinding(); } }
protected override void PerformSelect() { this.OnDataBinding(EventArgs.Empty); if (base.AdapterInternal != null) { HierarchicalDataBoundControlAdapter adapterInternal = base.AdapterInternal as HierarchicalDataBoundControlAdapter; if (adapterInternal != null) { adapterInternal.PerformDataBinding(); } else { this.PerformDataBinding(); } } else { this.PerformDataBinding(); } base.RequiresDataBinding = false; this.MarkAsDataBound(); this.OnDataBound(EventArgs.Empty); }
/// <summary> /// Issues an asynchronous request for data to the data source using the arguments from CreateDataSourceSelectArguments. /// </summary> protected override void PerformSelect() { OnDataBinding(EventArgs.Empty); if (AdapterInternal != null) { HierarchicalDataBoundControlAdapter hierarchicalAdapter = AdapterInternal as HierarchicalDataBoundControlAdapter; if (hierarchicalAdapter != null) { hierarchicalAdapter.PerformDataBinding(); } else { PerformDataBinding(); } } else { PerformDataBinding(); } RequiresDataBinding = false; MarkAsDataBound(); OnDataBound(EventArgs.Empty); }