DataGrid HeaderTemplate Bug?

Discussion in 'ASP .Net Datagrid Control' started by Roger Kjærnsrød, Jul 4, 2004.

  1. I use theDataGrid control and specify a HeaderTemplate for the grid.
    I the rendered HTML the header row is not rendered as <th> elements.
    Is this a bug in the DataGrid control?

    -Roger
    Roger Kjærnsrød, Jul 4, 2004
    #1
    1. Advertising

  2. Does nobody have a comment on this?



    "Roger Kjærnsrød" <> wrote in message
    news:...

    > I use the DataGrid control and specify a HeaderTemplate for the grid.
    > In the rendered HTML the header row is not rendered as <th> elements.
    > Is this a bug in the DataGrid control?
    >
    > -Roger
    >
    >
    Roger Kjærnsrød, Jul 9, 2004
    #2
    1. Advertising

  3. Roger Kjærnsrød

    Scott G. Guest

    It's not a bug; since that's the way it works. Table th elements are not "required", and even though it would nice if the DataGrid generated them, based on the HTML version one was using, it doesn't seem like it's going to happen in ASP.NET 1.x

    Maybe they will be there in ASP.NET 2.

    Scott

    "Roger Kjærnsrød" <> wrote in message news:...
    Does nobody have a comment on this?



    "Roger Kjærnsrød" <> wrote in message
    news:...

    > I use the DataGrid control and specify a HeaderTemplate for the grid.
    > In the rendered HTML the header row is not rendered as <th> elements.
    > Is this a bug in the DataGrid control?
    >
    > -Roger
    >
    >
    Scott G., Jul 10, 2004
    #3
    1. Advertising

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. SamIAm
    Replies:
    1
    Views:
    4,552
    Bipin Joshi [MVP]
    Jun 26, 2003
  2. Vijaya
    Replies:
    2
    Views:
    2,646
    Vijaya
    Nov 13, 2003
  3. Cheng
    Replies:
    2
    Views:
    9,350
    dany7487
    Nov 14, 2007
  4. Ashish Sharma

    DataGrid HeaderTemplate Question

    Ashish Sharma, Apr 14, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    405
    Ashish Sharma
    Apr 14, 2004
  5. JoNa SuperGold

    controlling button in headertemplate datagrid

    JoNa SuperGold, Apr 5, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    1,137
Loading...

Share This Page