Splitting a table in a repeater control

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • darrel

    Splitting a table in a repeater control

    I've been doing most of my work in Dreamweaver.

    I've been buliding some repeater controls where I put the TABLE tag in the
    HeaderTemplate and the /TABLE tag in the FotterTemplate. Seems to work fine,
    but VS.NET tags that as an error (since I don't have opening and closing
    tags in the same template). Any reason to worry about this, or since it
    works when output, just let it be?

    -Darrel


  • Bruno Sirianni

    #2
    Re: Splitting a table in a repeater control

    you can use code similar this :

    <table>
    <asp:repeater />
    </table>

    and put <tr><td></td></tr> in the ItemTemplate!!

    Brun


    "darrel" <notreal@hotmai l.com> wrote in message
    news:OdLMwJtLEH A.3696@TK2MSFTN GP09.phx.gbl...[color=blue]
    > I've been doing most of my work in Dreamweaver.
    >
    > I've been buliding some repeater controls where I put the TABLE tag in the
    > HeaderTemplate and the /TABLE tag in the FotterTemplate. Seems to work[/color]
    fine,[color=blue]
    > but VS.NET tags that as an error (since I don't have opening and closing
    > tags in the same template). Any reason to worry about this, or since it
    > works when output, just let it be?
    >
    > -Darrel
    >
    >[/color]


    Comment

    • darrel

      #3
      Re: Splitting a table in a repeater control

      > and put <tr><td></td></tr> in the ItemTemplate!!

      but is there a reason I should *not* put the table tags in the
      headerTemplate and footerTemplate?

      -Darrel



      Comment

      • Bruno Sirianni

        #4
        Re: Splitting a table in a repeater control

        In header template you can write <tr> for table header (columns names for
        example!!) in footertemplate the table footer... :)

        "darrel" <notreal@hotmai l.com> wrote in message
        news:O0IX4QuLEH A.2260@TK2MSFTN GP09.phx.gbl...[color=blue][color=green]
        > > and put <tr><td></td></tr> in the ItemTemplate!![/color]
        >
        > but is there a reason I should *not* put the table tags in the
        > headerTemplate and footerTemplate?
        >
        > -Darrel
        >
        >
        >[/color]


        Comment

        Working...