New TableItemStyle property

Discussion in 'ASP .Net Datagrid Control' started by Wes, Aug 27, 2004.

  1. Wes

    Wes Guest

    I need to add a new property to <TableItemStyle> of the <BoundColumn>
    tags of a DataGrid. I have no idea how. I am a Java coder of many
    years thrown into C# and ASP.NET two weeks ago. I have derived a new
    class 'ReportGrid' from DataGrid that does things like totals, column
    sorts and multi-line headers. I'd like to alter TableItemStyle in
    order to add a property that defines the type of total for specific
    columns (count, sum, avg, etc.) A requirement of ReportGrid is
    AutoGenerateCOlumns=false. First, I don't know how to get the HTML
    <BoundColumn> to use an overridden <ItemStyle> tag. Is it as easy as
    creating a new style class and changing the HTML tag? Or do I have to
    create a new BoundColumn calss also?

    Any/All help is appreciated.

    Thanks,
    -Wes
     
    Wes, Aug 27, 2004
    #1
    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. Matt
    Replies:
    2
    Views:
    14,143
    bruce barker
    Aug 23, 2004
  2. Matt
    Replies:
    1
    Views:
    468
    Andrew Thompson
    Aug 22, 2004
  3. Matt
    Replies:
    5
    Views:
    3,062
    Michael Winter
    Aug 25, 2004
  4. Replies:
    1
    Views:
    1,116
  5. Replies:
    2
    Views:
    502
    Thomas 'PointedEars' Lahn
    Mar 11, 2008
Loading...

Share This Page