Strong Coders Community

Where the extreme coders hang out.
Welcome to Strong Coders Community Sign in | Join | Help Messenger
in Search

Pager always visible?

Last post 10-26-2006, 12:36 PM by Kevin Jones . 3 replies.
Sort Posts: Previous Next
  •  10-24-2006, 12:11 PM 973
    • Kevin Jones is not online. Last active: 2006/11/14, 10:02 AM Kevin Jones
    • Top 10 Contributor
      Male
    • Joined on 07-27-2006
    • Charleston, SC
    • Posts 64
    • Points 900
    • Moderator

    Pager always visible?

    I have overriden the creation of a pager row so that my pages also include a drop down list so the user can choose the number of items per-page. It works wonderfully, except for one thing. The page size chooser lets you choose from 10, 25, 50, and 100 rows. Lets say there are 75 rows. If I change it to 100 the pager disappears since there is only one page. My question is, can I make is so that the pager is always visible even if there is only 1 page on a GridView? I realize I could make my own control and use GridView as a base class, but I am wanting to avoid doing that.


    Cheers,
         Kevin
    • Post Points: 5
    • Alert the moderators
  •  10-25-2006, 11:20 PM 979 in reply to 973
    • Kevin Jones is not online. Last active: 2006/11/14, 10:02 AM Kevin Jones
    • Top 10 Contributor
      Male
    • Joined on 07-27-2006
    • Charleston, SC
    • Posts 64
    • Points 900
    • Moderator

    Re: Pager always visible?

    Alright I got it figured out now. Thanks.
    Cheers,
         Kevin
    • Post Points: 20
    • Alert the moderators
  •  10-26-2006, 5:52 AM 980 in reply to 979
    • Dean Fiala is not online. Last active: 11-14-2006, 2:29 PM Dean Fiala
    • Top 10 Contributor
    • Joined on 10-17-2006
    • Posts 9
    • Points 125
    • MicrosoftMVP Moderator

    Re: Pager always visible?

    Please share how you did it for those searching souls.

    Dean Fiala
    Very Practical Software, Inc.
    • Post Points: 20
    • Alert the moderators
  •  10-26-2006, 12:36 PM 983 in reply to 980
    • Kevin Jones is not online. Last active: 2006/11/14, 10:02 AM Kevin Jones
    • Top 10 Contributor
      Male
    • Joined on 07-27-2006
    • Charleston, SC
    • Posts 64
    • Points 900
    • Moderator

    Re: Pager always visible?

    I derrived my own control from the GridView. I will blog about it and make it available for download probably this weekend when I get some time.
    Cheers,
         Kevin
    • Post Points: 5
    • Alert the moderators

Powered by Community Server, by Telligent Systems