gridview disappears

Discussion in 'ASP .Net' started by John Devlon, Apr 10, 2008.

  1. John Devlon

    John Devlon Guest

    Hi,

    I've placed a gridview on a page but it disappears when there is no data.

    How do i keep the gridview visible, even when there is no data ?
    (headers etc)

    Thanx

    John
     
    John Devlon, Apr 10, 2008
    #1
    1. Advertisements

  2. John Devlon

    Guest

    There is an empty data template that u can use to display messages
    like "No records found etc."
    or u will have to add some dummy data if the fieds are e mpty ( like
    space etc.)


    On Apr 9, 6:04 pm, "John Devlon" <> wrote:
    > Hi,
    >
    > I've placed agridviewon a page but it disappears when there is no data.
    >
    > How do i keep thegridviewvisible, even when there is no data ?
    > (headers etc)
    >
    > Thanx
    >
    > John
     
    , Apr 10, 2008
    #2
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Domien Holthof

    App restarts, session disappears...

    Domien Holthof, Jun 25, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,136
    Alvin Bruney
    Jun 25, 2003
  2. Steve

    Grid Disappears (WebForm)

    Steve, Nov 17, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    794
    alex bowers
    Nov 17, 2003
  3. Brad
    Replies:
    5
    Views:
    552
    Steven Cheng[MSFT]
    Jan 2, 2004
  4. =?Utf-8?B?bWdvbnphbGVzMw==?=

    GridView Hierarchical View - Gridview in Gridview

    =?Utf-8?B?bWdvbnphbGVzMw==?=, May 9, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    18,267
    =?Utf-8?B?UGhpbGxpcCBXaWxsaWFtcw==?=
    May 9, 2006
  5. =?Utf-8?B?d2lsbGlw?=
    Replies:
    1
    Views:
    465
    =?Utf-8?B?d2lsbGlw?=
    Aug 30, 2006
  6. Replies:
    2
    Views:
    4,561
  7. Mike Robbins

    GridView - Column Value Disappears

    Mike Robbins, Mar 15, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    337
    Mike Robbins
    Mar 15, 2006
  8. Vijay

    GridView - Pager Disappears

    Vijay, Aug 17, 2006, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    213
    Vijay
    Aug 17, 2006
Loading...