Define Control ID (TBody)

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

    Define Control ID (TBody)

    Hello,

    I am creating a table at runtime. How can define the table's TBody ID?

    I need to get something as follows:

    <tbody id="itemContain er" runat="server"> </tbody>

    Thanks,
    Miguel
  • Nick Chan

    #2
    Re: Define Control ID (TBody)

    hmmm there doesnt seem to have htmltablebody
    try htmlgenericcont rol

    On Nov 16, 8:21 am, shapper <mdmo...@gmail. comwrote:
    Hello,
    >
    I am creating a table at runtime. How can define the table's TBody ID?
    >
    I need to get something as follows:
    >
    <tbody id="itemContain er" runat="server"> </tbody>
    >
    Thanks,
    Miguel

    Comment

    • shapper

      #3
      Re: Define Control ID (TBody)

      On Nov 16, 6:03 am, Nick Chan <zzzxtr...@yaho o.comwrote:
      hmmm there doesnt seem to have htmltablebody
      try htmlgenericcont rol
      >
      On Nov 16, 8:21 am, shapper <mdmo...@gmail. comwrote:
      >
      Hello,
      >
      I am creating a table at runtime. How can define the table's TBody ID?
      >
      I need to get something as follows:
      >
      <tbody id="itemContain er" runat="server"> </tbody>
      >
      Thanks,
      Miguel
      What do you mean? Can you give me an example or some info?

      Thanks,
      Miguel

      Comment

      • Nick Chan

        #4
        Re: Define Control ID (TBody)

        dim body as new htmlgenericcont rol
        body.id = "itemContai ner"
        myTable.Control s.AddAt(body,0)

        im not sure, something like that

        On Nov 16, 2:03 pm, Nick Chan <zzzxtr...@yaho o.comwrote:
        hmmm there doesnt seem to have htmltablebody
        try htmlgenericcont rol
        >
        On Nov 16, 8:21 am, shapper <mdmo...@gmail. comwrote:
        >
        >
        >
        Hello,
        >
        I am creating a table at runtime. How can define the table's TBody ID?
        >
        I need to get something as follows:
        >
        <tbody id="itemContain er" runat="server"> </tbody>
        >
        Thanks,
        Miguel- Hide quoted text -
        >
        - Show quoted text -

        Comment

        Working...