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

Forums / General Discussions / Sitefinity:Pager

Sitefinity:Pager

6 posts, 1 answered
  1. Byzza
    Byzza avatar
    89 posts
    Registered:
    09 Jul 2007
    14 Jun 2011
    Link to this post
    I've added a search results template on one of my pages and have customised the layout to suit my needs, but I haven't been able to find any reference to the properites of this line:

    <sitefinity:Pager ID="pager" runat="server" />

    Is there a way to customs the output of that control?

    at the moment it is just
    12345678910...

    I would prefer
    1 | 2 | 3 | 4  and so on.

    Thank you in advance for any help you can offer.

    Regards
    Byron
  2. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    02 Dec 2016
    14 Jun 2011
    Link to this post
    Hello Byzza,

    Thank you for using our services. You can easily achieve this using CSS to style the border of the <a> elements inside the .sf_pagerNumeric class that's set for the pager control. I believe you might find this article useful as well. Please do not hesitate to ask if you have any additional questions.

    Best wishes,
    Boyan Barnev
    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
    Answered
  3. Byzza
    Byzza avatar
    89 posts
    Registered:
    09 Jul 2007
    15 Jun 2011
    Link to this post
    Hi Boyan,

    Thank you for that. Yes that fixed my problem.

    Regards
    Byron
  4. Daniel L
    Daniel L avatar
    26 posts
    Registered:
    06 May 2006
    31 Oct 2011
    Link to this post
    I wish to have Next and Previous buttons only, so I'm using the following code:

    <sf:Pager id="pager" runat="server" ShowPrevAndNext="true" HideNumeric="true" ></sf:Pager>

    However, the previous link still displays when I'm on the first page and the next link still displays when I'm on the last page. This is unacceptable to visitors. How should I fix this? 
  5. Boyan Barnev
    Boyan Barnev avatar
    1429 posts
    Registered:
    02 Dec 2016
    31 Oct 2011
    Link to this post
    Hello Daniel L,

    Thank you for pointing this issue, and please excuse us for the inconvenience caused. We have logged this issue as a bug in our system and will be working on fixing it for the upcoming releases. Your Telerik points have been updated accordingly.

    All the best,
    Boyan Barnev
    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
  6. Daniel L
    Daniel L avatar
    26 posts
    Registered:
    06 May 2006
    31 Oct 2011
    Link to this post
    Thanks Boyan. In the meantime we're going to use jquery to hide the links where href='javascript:void(0)'
6 posts, 1 answered