More in this section

Forums / Developing with Sitefinity / Configure pager in dynamic modules

Configure pager in dynamic modules

2 posts, 0 answered
  1. Daniel Plomp
    Daniel Plomp avatar
    952 posts
    18 Feb 2004
    07 Dec 2012
    Link to this post
    Hi Sitefinity,

    Would it be possible to change this method inside the DynamicContentViewMaster class:
    private void ConfigurePager(int virtualItemCount)

    To match this code, as it is inside the MasterViewBase class:
    protected virtual void ConfigurePager(Pager pager, int vrtualItemCount)

    Then it would be possible to override this method and do something like this:
    protected override void ConfigurePager(Telerik.Sitefinity.Web.UI.Pager pager, int virtualItemCount) {
       base.ConfigurePager(pager, virtualItemCount);
       base.ConfigurePager(pager1, virtualItemCount);

    Which would give me the ability to configure more then one pager inside my dynamic module master view. I used the above override when working with the News module, but I now had to do much more coding to get it work with a Dynamic module.

  2. Victor Velev
    Victor Velev avatar
    1345 posts
    06 Jul 2015
    12 Dec 2012
    Link to this post
    Hello Daniel,

    I have coordinated your request to our dev teams so they will look into it consider making the method virtual for one of our future releases.

    Depending on your scenario you can override the InitializeControls method of the DynamicContentViewMaster in which the ConfigurePager method is called such as:


    Victor Velev
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered