+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / DownloadList: disable paging programatically

DownloadList: disable paging programatically

3 posts, 1 answered
  1. Lucas
    Lucas avatar
    65 posts
    Registered:
    22 Mar 2010
    06 Sep 2010
    Link to this post
    Hi,

    I have created a control that derives from DownloadList (in short, it sorts items by category), and I want this control to have its paging either disable by default (there's no paging when you put the control on the page), or disabled altogether (depending on what is easiest).

    I see this seems to be defined by the Xml properties, but is there a simple way to achieve this?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    06 Sep 2010
    Link to this post
    Hi Lucas,

    There is a public property AllowPaging that you can override and return false.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
    Answered
  3. Lucas
    Lucas avatar
    65 posts
    Registered:
    22 Mar 2010
    06 Sep 2010
    Link to this post
    Damn, how did I miss it... Thanks!
Register for webinar
3 posts, 1 answered