Esempio n. 1
0
 public DataViewExtenderBase() :
     base("Web.DataView")
 {
     this._pageSize              = 10;
     this._showActionBar         = true;
     this._showActionButtons     = ActionButtonLocation.TopAndBottom;
     this._showDetailsInListMode = true;
     this._showPager             = PagerLocation.Bottom;
     this._showPageSize          = true;
     _showDescription            = true;
     _showViewSelector           = true;
     _summaryFieldCount          = 5;
     _showQuickFind              = true;
 }
Esempio n. 2
0
        private void UpdatePager()
        {
            if (this.m_Pager.parent == this)
            {
                base.Remove(this.m_Pager);
            }
            PagerLocation pagerLoc = this.m_PagerLoc;

            if (pagerLoc != PagerLocation.Top)
            {
                if (pagerLoc == PagerLocation.Bottom)
                {
                    base.Add(this.m_Pager);
                }
            }
            else
            {
                base.Insert(0, this.m_Pager);
            }
            this.m_Pager.PageCount = this.pageCount;
        }
Esempio n. 3
0
 public DataViewExtenderBase()
     : base("Web.DataView")
 {
     this._pageSize = 10;
     this._showActionBar = true;
     this._showActionButtons = ActionButtonLocation.TopAndBottom;
     this._showDetailsInListMode = true;
     this._showPager = PagerLocation.Bottom;
     this._showPageSize = true;
     this._showSearchBar = true;
     _showDescription = true;
     _showViewSelector = true;
     _summaryFieldCount = 5;
     _showQuickFind = true;
     _transaction = DataTransactionMode.Supported;
 }