Exemple #1
0
 protected virtual void OnPageIndexChanged(PagerPageChangedEventArgs e)
 {
     if (PageIndexChanged != null)
     {
         PageIndexChanged(this, e);
     }
 }
Exemple #2
0
        private void GoToPage(int pageIndex)
        {
            // Prepares event data
            PagerPageChangedEventArgs e = new PagerPageChangedEventArgs();

            e.CurPageIndex = pageIndex;
            OnPageIndexChanged(e);
        }