Load on demand doesn't handle paging correctly

2 posts, 1 answers
  1. Matt Jones
    Matt Jones avatar
    17 posts
    Member since:
    Mar 2007

    Posted 27 Aug 2012 Link to this post

    RadRotator enables the left arrrow even though the InitialItemIndex is zero and WrapFrames is false. Logically, you can't go one page before the first item, yet RadRotator allows you to do that. What's even worse - when users click the left arrow the RadRotator silently loads third page and then locks up the users between first three pages that are even loaded in the reverse order (this is experienced with version 2012.1.215).

    RadRotator also enabled the right arrow even though it does not know whether there are further items on the next page. And when users click that "Page Next" button one of two things happen - either the arrow gets disabled to mark that there is no more items (why RadRotator didn't find this out earlier? Isn't it missing a GetCount() method?) or it goes to next page and then again locks up users there and they cannot click on the "Previous Page" button. 

    This happens slightly randomly, unfortunately, but often enough to confuse and scary users.

    I believe this could be solved by preloading the first page not on demand but while page render. At this moment the RadRotator could be told the total number of items so it would behave properly when paging. I tried to fill the Items set of RadRotator from code behind and later turn on the load on demand but the RadRotator renders empty.

    Can you please suggest a way of prefilling the first page from code behind and let the other pages be loaded on demand?
  2. Answer
    Slav
    Admin
    Slav avatar
    1355 posts

    Posted 29 Aug 2012 Link to this post

    Hello Matt,

    Please check your support ticket on the matter for more information about the encountered behavior.

    For future use of our support system I would suggest creating a separate forum thread/support ticket for each problem you want to report. This way the information on the scenario will be easier to track. This being said, let us continue our discussion in the support ticket.

    All the best,
    Slav
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top