ASP.Net Layout
-
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
-
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
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.
-
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
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.
-
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.
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
-
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.
Couldn't have put it better myself.:-D
Deja View - the feeling that you've seen this post before.