473,757 Members | 8,085 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

“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 4656
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*******@disc ussions.microso ft.com> wrote in message
news:9F******** *************** ***********@mic rosoft.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******@4guysf romrolla.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******** ********@tk2msf tngp13.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*******@disc ussions.microso ft.com> wrote in message
news:9F******** *************** ***********@mic rosoft.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*******@disc ussions.microso ft.com> wrote in message
news:C5******** *************** ***********@mic rosoft.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.co m.

--
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******** *****@tk2msftng p13.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.co m.

--
mikeb

Nov 18 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1381
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 users have problems, all on microsoft platforms. ok. hit propertys and then select flow layout bam. nothing. i desperatelly need to convert all my server controls to flow layout before all my users get pissed beyond using my product. is there...
4
2350
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 some user with a very ancient browser (Netscape 3 or 4, or IE 3) won't be able to view the site properly. However, I want that modern browsers (IE 5+, Netscape 6, Mozilla, Opera, and possible other browsers with new versions) to be able to...
2
1288
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 label on the far right of the screen. Is there a way to that in Grid layout so that it's essentially docked on the right regardless of the client's window width? Thanks. Jerry
7
1548
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
1484
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 a way to dynamically shift the lower grid so it appears just below the upper grid? Thanks. -- Paul G Software engineer.
3
2219
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 columns. & depending on what the user enters, the data grid can grow very large. So to avoid scrolling the whole page, I just want the data grid to be scrollable. For this I used the <div> tags around the data grid, <div...
2
3454
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
18572
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 elements in the HTML to get everything just right. When you consider the class attribute on the DIV elements, there's not much size savings anymore for using DIV. There are other disadvantages to not using TABLE/TR/TD, such as the lack of ability...
2
3377
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 in with the flow Error : While updating row after sorting error was fixed. Initially i had sorting error in the grid.
0
9489
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
10072
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9906
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9885
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8737
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5172
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
3829
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3399
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2698
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.