Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Table and panel

Table and panel

Scheduled Pinned Locked Moved ASP.NET
question
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sowjanya3
    wrote on last edited by
    #1

    Should we place a panel inside the table or table inside the panel?

    G A B C 5 Replies Last reply
    0
    • S sowjanya3

      Should we place a panel inside the table or table inside the panel?

      G Offline
      G Offline
      Gaurav Dudeja India
      wrote on last edited by
      #2

      yes, you can put panel in td and table in panel.

      1 Reply Last reply
      0
      • S sowjanya3

        Should we place a panel inside the table or table inside the panel?

        A Offline
        A Offline
        Abhijit Jana
        wrote on last edited by
        #3

        sowjanya3 wrote:

        Should we place a panel inside the table or table inside the panel?

        For What ? Any specific requirments ? Panels are Rendered into HTML DIV. and Table are same it is. Like, if your write,

        Then, the HTML Output will be,

        div id="Panel1"

        Cheers ! Abhijit Codeproject MVP

        1 Reply Last reply
        0
        • S sowjanya3

          Should we place a panel inside the table or table inside the panel?

          B Offline
          B Offline
          Brij
          wrote on last edited by
          #4

          Its upto your requirement.You can put panel in td of a table.And you also can put table inside a panel. Panel are mainly used to group some part of a page and we can show hide the panel according to the requirement if required.And table is used to have proper structure of the page.So if you have different section in your page, you can use panel and inside that have a table for design... Hope it clears bit...

          Cheers!! Brij

          1 Reply Last reply
          0
          • S sowjanya3

            Should we place a panel inside the table or table inside the panel?

            C Offline
            C Offline
            carlecomm
            wrote on last edited by
            #5

            Sure. You can both place a panel inside the table and place a table inside the panel.You can have a try by yourself.

            S 1 Reply Last reply
            0
            • S sowjanya3

              Should we place a panel inside the table or table inside the panel?

              C Offline
              C Offline
              carlecomm
              wrote on last edited by
              #6

              Hi, Do you want this: < asp:Panel ID="Panel1" runat="server"> < table> < tr> < td> </td> </tr> </table> </asp:Panel> Or this: < table> < tr> < td> < asp:Panel ID="Panel2" runat="server"> </asp:Panel> </td> </tr> </table>

              1 Reply Last reply
              0
              • C carlecomm

                Sure. You can both place a panel inside the table and place a table inside the panel.You can have a try by yourself.

                S Offline
                S Offline
                sowjanya3
                wrote on last edited by
                #7

                I had used both but just i want to confirm whether is there any specific rule. thats it

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups