Results 1 to 2 of 2

Thread: Blocks of Pages (pagination)

  1. #1

    Thread Starter
    PowerPoster
    Join Date
    Aug 2003
    Location
    Edinburgh, UK
    Posts
    2,773

    Blocks of Pages (pagination)

    My brain just can't cope!

    So I have a repeater which binds page numbers. That's all fine.

    I need to know how to make the paging so that they are in "chunks" of a max of 10 page numbers being displayed at a time.
    Then if they select a page number, it will show the previous x pages and the next y pages (within the 10 chunk range).

    similar to google paging I guess.

    Not using pagedDataSource/gridview/gridlist please! This is just purely getting the page numbers.

    So yes, if it helps - it is pretty much the same/similar to google paging behavior.

    MVP 2007-2010 any chance of a regain?
    Professional Software Developer and Infrastructure Engineer.

  2. #2
    King of sapila
    Join Date
    Oct 2006
    Location
    Greece
    Posts
    6,763

    Re: Blocks of Pages (pagination)

    I would go with a pager control.There is a datapager control in asp.net haven't used it don't have an opinion.You could either get a free pager control or have a look at this:
    http://msdn.microsoft.com/en-us/library/ms972960.aspx
    ἄνδρα μοι ἔννεπε, μοῦσα, πολύτροπον, ὃς μάλα πολλὰ
    πλάγχθη, ἐπεὶ Τροίης ἱερὸν πτολίεθρον ἔπερσεν·

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width