Big ItemCount problem in Unbound Mode

2 posts, 0 answers
  1. Ahmad
    Ahmad avatar
    12 posts
    Member since:
    May 2015

    Posted 16 Oct Link to this post

    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.
  2. Ahmad
    Ahmad avatar
    12 posts
    Member since:
    May 2015

    Posted 17 Oct Link to this post

    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.

  3. UI for WPF is Visual Studio 2017 Ready
Back to Top