show header when gridview is empty

Discussion in 'ASP .Net' started by Guest, Mar 30, 2006.

  1. Guest

    Guest Guest

    is there a way to show the header even when GridView is empty? the page looks
    kind of bare with just empydatatext or emptyrowtemplate.

    Guest, Mar 30, 2006
    1. Advertisements

  2. John Timney \( MVP \), Mar 30, 2006
    1. Advertisements

  3. Guest

    Guest Guest

    Guest, Mar 30, 2006
  4. Guest

    Guest Guest

    that link was very helpful.

    As a related issue, I'd like to add a final row at the end of the GridView,
    after the footer, pager, and all other rows. I'd like to have something
    similar to the bottom status bar on IE or Win Explorer.

    Using the Footer template for this is not an option since I will get a row
    with a cell for each column on the grid. And I'd like to have something more

    Ideally it would be Templated Row but on a first try I'd go with a one-cell
    only row.

    The problem I have is how to get a reference to the current table of rows so
    I can add another row at the end.

    Guest, Aug 1, 2006
  5. Guest


    Jan 13, 2012
    Likes Received:
    I have the solution for you. The following post can help you
    thienle282, Jan 13, 2012
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.