datagrid AllowPaging wierdness

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hudpuck
    New Member
    • Jun 2007
    • 1

    #1

    datagrid AllowPaging wierdness

    I have a datagrid that I set to AllowPaging="tr ue". If AutoGenerateCol umns is set to false, the page numbers are displayed in a footer row that spans the entire datagrid. If AutoGenerateCol umns is set to true, then the page numbers are displayed in a footer row that spans only the first column.

    I want to show the page numbers in a row that spans the entire datagrid with AutoGenerateCol umns="true", but can't seem to find a way. Has anybody seen this before?

    Thanks.
  • nateraaaa
    Recognized Expert Contributor
    • May 2007
    • 664

    #2
    Originally posted by hudpuck
    I have a datagrid that I set to AllowPaging="tr ue". If AutoGenerateCol umns is set to false, the page numbers are displayed in a footer row that spans the entire datagrid. If AutoGenerateCol umns is set to true, then the page numbers are displayed in a footer row that spans only the first column.

    I want to show the page numbers in a row that spans the entire datagrid with AutoGenerateCol umns="true", but can't seem to find a way. Has anybody seen this before?

    Thanks.
    Try changing the PagerStyle-HorizontalAlign property of your datagrid to Center.
    This will shown the number of pages in the center of your footer of the grid.

    Nathan

    Comment

    Working...