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. ASP.Net Layout

ASP.Net Layout

Scheduled Pinned Locked Moved ASP.NET
questioncsharphtmlasp-net
5 Posts 4 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.
  • M Offline
    M Offline
    martin_hughes
    wrote on last edited by
    #1

    Just a quick question: In ASP.Net are you encouraged to use controls such as the Panel for layout, rather than divs and whatever else you'd use in a plain olf HTML file?

    Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007

    S P 2 Replies Last reply
    0
    • M martin_hughes

      Just a quick question: In ASP.Net are you encouraged to use controls such as the Panel for layout, rather than divs and whatever else you'd use in a plain olf HTML file?

      Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007

      S Offline
      S Offline
      Saksida Bojan
      wrote on last edited by
      #2

      martin_hughes wrote:

      In ASP.Net are you encouraged to use controls such as the Panel for layout, rather than divs and whatever else you'd use in a plain olf HTML file?

      For me, I didn't have a need to use it, i am using tables as layout. Each control has it's own good and bad side.

      1 Reply Last reply
      0
      • M martin_hughes

        Just a quick question: In ASP.Net are you encouraged to use controls such as the Panel for layout, rather than divs and whatever else you'd use in a plain olf HTML file?

        Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007

        P Offline
        P Offline
        Phil Osborne
        wrote on last edited by
        #3

        You should use divs and stylesheets for web application page layout. Only use tables if you are wanting to display tabular data. Panels are useful for example if you want to hide/unhide a number of controls. Easy to do if controls are on a single panel, just set panels visible property to true or false. Take a look at http://asp.net/learn/videos/video-188.aspx for free video on CSS (Cascading Style Sheets). This gives an example of how to use divs and a stylesheet to layout a webpage in asp.net.

        M P 2 Replies Last reply
        0
        • P Phil Osborne

          You should use divs and stylesheets for web application page layout. Only use tables if you are wanting to display tabular data. Panels are useful for example if you want to hide/unhide a number of controls. Easy to do if controls are on a single panel, just set panels visible property to true or false. Take a look at http://asp.net/learn/videos/video-188.aspx for free video on CSS (Cascading Style Sheets). This gives an example of how to use divs and a stylesheet to layout a webpage in asp.net.

          M Offline
          M Offline
          martin_hughes
          wrote on last edited by
          #4

          Magic - thanks Phil.

          Me: Can you see the "up" arrow? User:Errr...ummm....no. Me: Can you see an arrow that points upwards? User: Oh yes, I see it now! -Excerpt from a support call taken by me, 08/31/2007

          1 Reply Last reply
          0
          • P Phil Osborne

            You should use divs and stylesheets for web application page layout. Only use tables if you are wanting to display tabular data. Panels are useful for example if you want to hide/unhide a number of controls. Easy to do if controls are on a single panel, just set panels visible property to true or false. Take a look at http://asp.net/learn/videos/video-188.aspx for free video on CSS (Cascading Style Sheets). This gives an example of how to use divs and a stylesheet to layout a webpage in asp.net.

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            Couldn't have put it better myself.:-D

            Deja View - the feeling that you've seen this post before.

            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