Exemple #1
0
 protected override void CopyProperties(DataPagerField newField)
 {
     ((NextPreviousPagerField)newField).ShowFirstPageButton    = this.ShowFirstPageButton;
     ((NextPreviousPagerField)newField).ShowLastPageButton     = this.ShowLastPageButton;
     ((NextPreviousPagerField)newField).ShowNextPageButton     = this.ShowNextPageButton;
     ((NextPreviousPagerField)newField).ShowPreviousPageButton = this.ShowPreviousPageButton;
     base.CopyProperties(newField);
 }
        protected override void CopyProperties(DataPagerField newField)
        {
            ((NumericPagerField)newField).ButtonCount = ButtonCount;
            ((NumericPagerField)newField).ButtonType  = ButtonType;
            ((NumericPagerField)newField).CurrentPageLabelCssClass   = CurrentPageLabelCssClass;
            ((NumericPagerField)newField).NextPageImageUrl           = NextPageImageUrl;
            ((NumericPagerField)newField).NextPageText               = NextPageText;
            ((NumericPagerField)newField).NextPreviousButtonCssClass = NextPreviousButtonCssClass;
            ((NumericPagerField)newField).NumericButtonCssClass      = NumericButtonCssClass;
            ((NumericPagerField)newField).PreviousPageImageUrl       = PreviousPageImageUrl;
            ((NumericPagerField)newField).PreviousPageText           = PreviousPageText;

            base.CopyProperties(newField);
        }
Exemple #3
0
 protected override void CopyProperties(DataPagerField newField)
 {
     ((NumericPagerField)newField).ButtonCount = this.ButtonCount;
     base.CopyProperties(newField);
 }