This is a migrated thread and some comments may be shown as answers.

Big ItemCount problem in Unbound Mode

1 Answer 84 Views
DataPager
This is a migrated thread and some comments may be shown as answers.
Ahmad
Top achievements
Rank 1
Ahmad asked on 16 Oct 2016, 02:12 PM
Hi,
I Use a RadDataPager in Unbound Mode.
when I want to set ItemCount to a big number (for example 450000000),
it takes almost 20 second.
is any way to improve time?
Thanks.

1 Answer, 1 is accepted

Sort by
0
Ahmad
Top achievements
Rank 1
answered on 17 Oct 2016, 12:35 PM

Editing Post:

I set PageSize to 1000.

the xaml code is:

  <StackPanel>
            <telerik:RadDataPager 

                                 x:Name="pager"
                                  PageSize="1000"
                                  DisplayMode="All"
                                  IsTotalItemCountFixed="True" 
                                  ></telerik:RadDataPager>

            <Button Click="BTN_Click"></Button>
        </StackPanel>

 

And the code behinde is :

private void BTN_Click(object sender, RoutedEventArgs e)
        {
            this.pager.ItemCount = 450000000;
        }

 

Thanks.

Tags
DataPager
Asked by
Ahmad
Top achievements
Rank 1
Answers by
Ahmad
Top achievements
Rank 1
Share this question
or