Contains arguments for the SelectedPageChanged event.
Inheritance: System.EventArgs
示例#1
0
        protected void pageSelector_SelectedPageChanged(object sender, SelectedPageChangedEventArgs e)
        {
            rangeBegin   = e.SelectedPage * PageSize;
            rangeEnd     = rangeBegin + e.ItemCount - 1;
            selectedPage = e.SelectedPage;

            rptPages.DataBind();
        }
        protected void pageSelector_SelectedPageChanged(object sender, SelectedPageChangedEventArgs e)
        {
            rangeBegin   = e.SelectedPage * PageSize;
            rangeEnd     = rangeBegin + e.ItemCount - 1;
            selectedPage = e.SelectedPage;

            RefreshList();
        }
        protected void pageSelector_SelectedPageChanged(object sender, SelectedPageChangedEventArgs e)
        {
            rangeBegin = e.SelectedPage * PageSize;
            rangeEnd = rangeBegin + e.ItemCount - 1;
            selectedPage = e.SelectedPage;

            rptPages.DataBind();
        }
        protected void pageSelector_SelectedPageChanged(object sender, SelectedPageChangedEventArgs e)
        {
            rangeBegin = e.SelectedPage * PageSize;
            rangeEnd = rangeBegin + e.ItemCount - 1;
            selectedPage = e.SelectedPage;

            RefreshList();
        }