By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,273 Members | 1,037 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,273 IT Pros & Developers. It's quick & easy.

“grid layout” vs. “flow layout”

P: n/a
Can anyone point me to a white paper discussing the advantages / disadvantages to using “grid layout” vs. “flow layout” on webforms? I’m looking to address performance issues in particular.
Nov 18 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
As far as performance goes, it doesn't make any difference. Grid Layout is
designed for table-less layout, using CSS for positioning, etc., while Flow
Layout is for using HTML tables to do your positioning.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Don Collins" <an*******@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
Can anyone point me to a white paper discussing the advantages /

disadvantages to using "grid layout" vs. "flow layout" on webforms? I'm
looking to address performance issues in particular.
Nov 18 '05 #2

P: n/a
Agreed, there is no real performance concern, but I find GridLayout to be
a pain. For example, placing a DataGrid above a TextBox can cause the
DataGrid to "overlap" the TextBox on render if there are too many elements
bound to the DataGrid...

Personally, I prefer FlowLayout, but not for any performance reasons -
just because I find I am more efficient and have much more control over
the page's layout that way.

--

Scott Mitchell
mi******@4guysfromrolla.com
http://www.4GuysFromRolla.com
http://www.ASPFAQs.com
http://www.ASPMessageboard.com

* When you think ASP, think 4GuysFromRolla.com!

"Kevin Spencer" <ke***@takempis.com> wrote in message
news:e0****************@tk2msftngp13.phx.gbl...
As far as performance goes, it doesn't make any difference. Grid Layout is designed for table-less layout, using CSS for positioning, etc., while Flow Layout is for using HTML tables to do your positioning.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"Don Collins" <an*******@discussions.microsoft.com> wrote in message
news:9F**********************************@microsof t.com...
Can anyone point me to a white paper discussing the advantages /

disadvantages to using "grid layout" vs. "flow layout" on webforms? I'm
looking to address performance issues in particular.

Nov 18 '05 #3

P: n/a
BB
In addition, you'll have much better luck with non-IE browsers if you stick to flow layout and tables versus grid layout and heavy CSS, if that's a concern for your app. Scientifically speaking, you'll see less "weirdness" when it comes to positioning, painting, etc. Since tables have been around a long time and are so simple, you can trust almost any semi-modern browser to show them the way you'd expect

Bill Borg
Nov 18 '05 #4

P: n/a
Check out http://csszengarden.com - in several browsers. The entire site is
done using divs and external CSS Style Sheets, and it is all the same page
using different style sheets. Even in CSS, you can handle different browsers
pretty effectively.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"BB" <an*******@discussions.microsoft.com> wrote in message
news:C5**********************************@microsof t.com...
In addition, you'll have much better luck with non-IE browsers if you stick to flow layout and tables versus grid layout and heavy CSS, if that's
a concern for your app. Scientifically speaking, you'll see less
"weirdness" when it comes to positioning, painting, etc. Since tables have
been around a long time and are so simple, you can trust almost any
semi-modern browser to show them the way you'd expect.
Bill Borg

Nov 18 '05 #5

P: n/a
Kevin Spencer wrote:
Check out http://csszengarden.com - in several browsers. The entire site is
done using divs and external CSS Style Sheets, and it is all the same page
using different style sheets. Even in CSS, you can handle different browsers
pretty effectively.


However, when you use VS.NET's Grid mode, you get every object placed on
the page with absolute positioning coordinates specified inline. That's
a far cry from what they're doing on csszengarden.com.

--
mikeb
Nov 18 '05 #6

P: n/a
Absolutely, Mike. One of my chief complaints. I have to use FlowLayout to
avoid that!

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

"mikeb" <ma************@mailnull.com> wrote in message
news:ek*************@tk2msftngp13.phx.gbl...
Kevin Spencer wrote:
Check out http://csszengarden.com - in several browsers. The entire site is done using divs and external CSS Style Sheets, and it is all the same page using different style sheets. Even in CSS, you can handle different browsers pretty effectively.


However, when you use VS.NET's Grid mode, you get every object placed on
the page with absolute positioning coordinates specified inline. That's
a far cry from what they're doing on csszengarden.com.

--
mikeb

Nov 18 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.