473,387 Members | 1,590 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

“grid layout” vs. “flow layout”

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
6 4626
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: RobertH | last post by:
Been getting allot of complaints from users that everything is squashed and overlayed and fonts are overlapping into buttons etc.. etc... So i determine that grid layout is probably bad, 50% of the...
4
by: NWx | last post by:
Hi, I develop an ASP.NET app which should be used from Internet, so I don't have control over what browsers will be used. I don't want to target every possible users, so I don't really mind is...
2
by: Jerry Camel | last post by:
I'm using Grid Layout basically because it was the default, but I've got the whole page designed and changing to Flow layout would be a royal pain, I think... But now, I find I need to position a...
7
by: Jack | last post by:
Are there any rules of thumb for when it is appropriate to use grid mode vs. flow mode in the Visual Studio.NET WebForm designer?
6
by: Paul | last post by:
Hi I have 2 data grids and several controls on a web page. The grids will vary in size, just wondering if the lower grid could be covered by part of the upper grid depending on its size or is there...
3
by: pmud | last post by:
Hi, I have a web page (asp.net, code:c#). I havean html table with text boxes. Based on the user input , records are displayed in the data grid below it. Now the datagrid has a large no. of...
2
by: Andrew Chalk | last post by:
I have set a page to "flow layout". How do i now set it back to grid layout? Many thanks
117
by: phil-news-nospam | last post by:
Is there really any advantage to using DIV elements with float style properies, vs. the old method of TABLE and TR and TD? I'm finding that by using DIV, it still involves the same number of...
2
by: mrbadboy | last post by:
Hi, Im not able to find where getRowValues() function is defined in the grid framework. Can anybody help me to find where the function is defined or Can anybody explain how getRowValues() works...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.