Re: Panel/Div/Table Overhead Costs

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



"randy.buchholz" <randy.buchholz@xxxxxxxxxxxxxxxx> wrote in message
news:esXBRkO8IHA.1568@xxxxxxxxxxxxxxxxxxxxxxx
I'm trying to standardize a layout methodology for our agency and am
looking for some guidance. Most of the applications are basic store and
retrieve types, and extensively use a DetailsView type of layout. Almost
all fields have validation and formatting, and I have given up on details
views since I have to convert most fields to template fields for layout,
and use findcontrol to access the fields. I understand that HTML tables
are discouraged even though (I believe) the final output uses tables. I
use themes and CSS to do much formatting, but need a way to build
table-like layouts. I am thinking of using many div's or panels to create
a "grid" and CSS to control size, etc.


A Panel is just a DIV you can control behind the scenes (such as change it's
size, assign different CSSCLASS values and make invisible)

On the tables issue, if you are displaying tabular data then use a table. If
you are laying out the content of your page then use DIVs (or Panels).

I recommend you read a book on CSS before even starting to code C# or VB.

You may find it an idea to create different aspects of your pages in User
Controls (each within their own internal panel) and then place them onto
your page or master page. This makes a large page easier to manage

Marc


.



Relevant Pages

  • Re: GUI best practices question
    ... but the number of containers (panels, frames...) and layout managers. ...
    (comp.lang.java.help)
  • Re: ASP.NET newbie - how to align panels horizontally
    ... but there is an additional setting for the hacks line) - the * in front of the display is important as all browsers except for IE7 ignore it. ... Border should be set to 0 for the finished product, I am displaying as dashed to see how my browsers render the panels. ... The only thing this is missing is a nice "flex" attribute to grow selected hpanels and make the layout even more fluid. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: what are panels for?
    ... Panels can encapsulate layouts and components. ... It is generally referred to as a nested layout. ... to encapsulate the comonents in a parent container in the ...
    (comp.lang.java.gui)
  • Wie Objekt als Parameter einer Methode schreibschützen?
    ... Objekts übergeben. ... Angenommen ich habe zwei Panels myp1, myp2 und genau ein Layout ... d.h. reinen output oder als ...
    (de.comp.lang.java)
  • Panel/Div/Table Overhead Costs
    ... I'm trying to standardize a layout methodology for our agency and am looking ... and extensively use a DetailsView type of layout. ... have validation and formatting, and I have given up on details views since I ... CSS to control size, etc. ...
    (microsoft.public.dotnet.framework.aspnet)