예제 #1
0
        protected void InternalPerformDataBinding()
        {
            HierarchicalDataBoundControlAdapter adapter
                = Adapter as HierarchicalDataBoundControlAdapter;

            if (adapter != null)
            {
                adapter.PerformDataBinding();
            }
            else
            {
                PerformDataBinding();
            }
        }
예제 #2
0
 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);
 }
예제 #3
0
 /// <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);
 }