Hide footer on gridview with paging enabled

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?UGhpbCBKb2huc29u?=

    Hide footer on gridview with paging enabled

    Hello,

    I have an asp.net 2.0 gridview with the paging enabled. I don't want to
    display the footer, but it always displays with the page numbers displayed.

    I have set the grid's showfooter to false and also tried to set the
    footerstyle height to 0px, but it always seems to show.

    Is there any way to hide the footer?

    --
    Regards,

    Phillip Johnson (MCSD For .NET)
    PJ Software Development

  • Regan

    #2
    Re: Hide footer on gridview with paging enabled

    Hi Phil,

    There's a grid view property-category called "Pager Settings". If you set
    the "visibility " flag to False, that should do the trick.

    Hope that helps.

    Out of curiosity, why do you have paging enabled if you don't want to
    display page numbers?




    "Phil Johnson" <PhilJohnson@di scussions.micro soft.comwrote in message
    news:73BE3622-21B9-4A54-8D5C-F1E8C0678571@mi crosoft.com...
    Hello,
    >
    I have an asp.net 2.0 gridview with the paging enabled. I don't want to
    display the footer, but it always displays with the page numbers
    displayed.
    >
    I have set the grid's showfooter to false and also tried to set the
    footerstyle height to 0px, but it always seems to show.
    >
    Is there any way to hide the footer?
    >
    --
    Regards,
    >
    Phillip Johnson (MCSD For .NET)
    PJ Software Development
    www.pjsoftwaredevelopment.com

    Comment

    • =?Utf-8?B?UGhpbCBKb2huc29u?=

      #3
      Re: Hide footer on gridview with paging enabled

      lol, yeah, without knowing the background of the project its difficult to
      imagine a scenario....

      The project is to display data on televisions in hotels.

      There will be a box that has Opera installed on it and takes an internet
      connection and when the user goes to a specific TV Channel, they will see the
      web application I am creating.

      The app just cycles through the page data without any interaction from the
      user, because the user cannot click on links etc with it being displayed on a
      tv.

      Thanks for the response.

      --
      Regards,

      Phillip Johnson (MCSD For .NET)
      PJ Software Development



      "Regan" wrote:
      Hi Phil,
      >
      There's a grid view property-category called "Pager Settings". If you set
      the "visibility " flag to False, that should do the trick.
      >
      Hope that helps.
      >
      Out of curiosity, why do you have paging enabled if you don't want to
      display page numbers?
      >
      >
      >
      >
      "Phil Johnson" <PhilJohnson@di scussions.micro soft.comwrote in message
      news:73BE3622-21B9-4A54-8D5C-F1E8C0678571@mi crosoft.com...
      Hello,

      I have an asp.net 2.0 gridview with the paging enabled. I don't want to
      display the footer, but it always displays with the page numbers
      displayed.

      I have set the grid's showfooter to false and also tried to set the
      footerstyle height to 0px, but it always seems to show.

      Is there any way to hide the footer?

      --
      Regards,

      Phillip Johnson (MCSD For .NET)
      PJ Software Development
      www.pjsoftwaredevelopment.com
      >
      >

      Comment

      Working...