locked
Add page numbers for paging in data view web part RRS feed

  • Question

  • Hello all,

    Has anyone found a solution that will allow me to have page numbers for paging in a data view web part. For instance, if I have 40 items/rows and I set the paging to display 10 items, I'd like the paging to show 1 2 3 4 rather than showing 1-10 and having to click next over and over to get to a specific item.

    I found this article, but it is for 2003 and doesn't seem to apply to 2007 or if it does I am not able to really figure out how.

    http://blogs.msdn.com/b/cjwalker/archive/2005/05/28/422826.aspx

    Please help!

    Thanks in advance.

    S

    Wednesday, August 11, 2010 8:22 PM

All replies

  • bump ... i hope someone can help!!

    Thursday, August 12, 2010 4:43 PM
  • I'm looking for this same solution! I followed the blog posted above, and with a few tweaks managed to get the dataview to display without any errors.

    However, all I got out of it was a link to page 1 - that was all. I don't really understand how the logic works in that blog.

     

    To get mine working to a point, I made sure that the 'Rows' param was sent from the CommandFooter template through to the Navigation template, not just in the Navigation template as the blog says.

    • Edited by Ryan Belford Thursday, August 26, 2010 12:04 PM some extra info
    Thursday, August 26, 2010 12:03 PM
  • Hello,

    I got the same result as Ryan. We need to look into the XSLT and tweak the code, I would suggest you try and directly contact us via support options and we can have a more indepth review of the issue. 

    http://support.microsoft.com/default.aspx?id=fh;en-use;offerprophone

    Regards,
    Jing Wang
    Microsoft Online Community Support

    Monday, October 25, 2010 7:33 PM
  • that anyone know the solution?
    I'm also had this problem 
    No, I'am not addicted!
    Monday, October 3, 2011 7:39 AM
  • that anyone know the solution?
    I'm also had this problem 
    No, I'am not addicted!

    In case you are still interested I already made a similar thing but I tested it only on SharePoint 2010:

    http://sharepointassistant.blogspot.com/2012/12/data-view-paging-with-page-numbers.html


    I am too late but i will never give up

    Friday, December 28, 2012 9:03 PM
  • Hello all,

    Has anyone found a solution that will allow me to have page numbers for paging in a data view web part. For instance, if I have 40 items/rows and I set the paging to display 10 items, I'd like the paging to show 1 2 3 4 rather than showing 1-10 and having to click next over and over to get to a specific item.

    I found this article, but it is for 2003 and doesn't seem to apply to 2007 or if it does I am not able to really figure out how.

    http://blogs.msdn.com/b/cjwalker/archive/2005/05/28/422826.aspx

    Please help!

    Thanks in advance.

    S

    Now I tested it successfully on SharePoint 2007:

    http://sharepointassistant.blogspot.com/2012/12/data-view-paging-with-page-numbers.html


    I am too late but i will never give up

    Sunday, March 10, 2013 6:35 AM