473,587 Members | 2,466 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Panel/Div/Table Overhead Costs

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.

Will this approach create a lot of rendering overhead in the system? Are
there better ways to do this? Thanks. --RB
Jul 28 '08 #1
3 2083
"randy.buchholz " <ra************ @dads.state.tx. uswrote in message
news:es******** ******@TK2MSFTN GP04.phx.gbl...
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
Jul 29 '08 #2
Hi,

"Will this approach create a lot of rendering overhead in the system?
"

"yes tables do take longer to render and at times the interface can
feel sluggish because of poor design. "

read the last post in this thread

http://www.velocityreviews.com/forum...der-times.html

Best of luck

Munna
Jul 30 '08 #3
Thanks, guys. I do understand CSS and themes and use them extensively. I
have built several ASPX/C# applications some with hundreds of tables and
dozens of pages. All use master pages, multiple content areas, themes and
CSS. I have developed many standards and reusable components for these
areas. I also have standards for data elements, domain objects, and
databases.

The issue here is I am the only one currently using ASPX/C# in an
organization that is COBOL and IBM Java. I am trying to move us to the MS
platform and need to keep things simple at first. The few people that have
any web experience use tables for layout and I know that is not a good
approach.

I use DIV's myself but wanted to see if DIV's or Panels were the better
standard, and understand how the performance differs for these three
approach using tables as a known baseline.

If Panels render to DIV's then I think I will go with DIV's since it will
save one processing step and that is my current approach.

"randy.buchholz " <ra************ @dads.state.tx. uswrote in message
news:es******** ******@TK2MSFTN GP04.phx.gbl...
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.

Will this approach create a lot of rendering overhead in the system? Are
there better ways to do this? Thanks. --RB


Jul 30 '08 #4

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

Similar topics

3
2800
by: f.ruecker | last post by:
Hey Folks, I hope you'll be nice to me and let this post go through even know its mysql and not directly php. But of course my script is php. The problem is, that my Table (1,8 MIO entries/100 MB/MyISAM) is not working anymore. Everytime my script wants to write in something the number of entries decreases, and at the "Overhead" column the...
13
2658
by: Shannan Casteel via AccessMonster.com | last post by:
I set up two tables (one with the regular claim info and another with ClaimNumber, PartNumber, and QuantityReplaced). The ClaimNumber is an autonumber and the primary key in both tables. I made a one to one relationship between the two tables. I have a form for the parts. It includes 25 text boxes for both the part numbers and the...
3
1884
by: Harry | last post by:
Hi, Can anyone help. I have a asp.net page (c#), with two panels, both of which have asp:textboxes on. When I press the first button, the second panel shows fine. When I press the button in the second panel, it triggers the script to send the form details by email.
3
1560
by: Pavan | last post by:
Hi All, I am having a wierd problem while displaying my panel. My code is something like this <table> <tr> <td width=100>label</td> <td width=100>label</td> <td width=100>label</td> <td width=100>button in this cell</td>
2
8338
by: Jason Chu | last post by:
Simple compatibility question, I have this: <table height="100%" width="50%" border="1"> <tr height="50%"> <td> <asp:Panel id="Panel1" runat="server" Height="100%" Width="100%" CssClass="scroll"> <asp:Label id="Label1" runat="server">Label</asp:Label></asp:Panel> </td> </tr> <tr height="50%">
4
1388
by: Brad | last post by:
I have a form where I have a treeview control in the left sidebar and then a panel next to it in the other pane. Based on user selection from the tree view, I would like the panel to display a certain html page that was created in Word as html. Currently I do have the treeview's nodes pointing to a URL, however for design asthetics, I would...
21
3187
by: Johan Tibell | last post by:
I would be grateful if someone had a minute or two to review my hash table implementation. It's not yet commented but hopefully it's short and idiomatic enough to be readable. Some of the code (i.e. the get_hash function) is borrowed from various snippets I found on the net. Thee free function could probably need some love. I have been...
4
6868
by: tshad | last post by:
I am trying to hide and show certain parts of my code (which I have no problem doing with DW). In VS 2003, it won't let you use <div runat="server"to section of parts of my code in a table. This is during compilation (build). My code is: <TABLE id="Table1" style="WIDTH: 864px; HEIGHT: 177px" cellSpacing="1" cellPadding="1" width="864"...
2
9432
by: ATR2000 | last post by:
I have setup a Panel to have a width of 100% so that it will adjust to users screensize. Within the panel I have a table. Unfortunately the table holds a lot of data and exceeds the size of the screen. The panel has a height of 350px and the scrollbar is set to auto so that both scrollbars appear when needed. What is happening is that due...
0
8215
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. ...
0
8347
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...
0
6626
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 project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5718
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5394
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3844
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...
0
3879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2358
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
0
1189
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...

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.