473,399 Members | 2,146 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,399 software developers and data experts.

PROBLEM : Nested Table control in IE in web application

Hi,
I dont know its good design or not but I have one REQUIREMENT that,
I have a Web application created in ASP.NET, and I need nested tables (one
table control into another table control) up to N level. and N can be
anything positive integer up to 100.

But i experienced that in IE 6.0 (which i am using) when i created and run
the asp.net application which does the above said thing, it shows only
nested table up to 26 LEVELs only.

For example: Create a web application where you add one table into another
table and in each table, a row and in each row a cell and in each cell a
lable with some text.
Here is a code which does that:
-------------------------------
private void Page_Load(object sender, System.EventArgs e)
{
phTables.Controls.Add(AddHTMLTableControl(30));
}
private Table AddHTMLTableControl(int level)
{
Table t = new Table();
t.Width = Unit.Percentage(100);
t.Height = Unit.Percentage(100);
t.BorderWidth = 1;
TableRow tr = new TableRow();
TableCell tc = new TableCell();
tr.Cells.Add(tc);
t.Rows.Add(tr);
for(int i=0; i < level; i++)
{
Table t1 = new Table();
t1.Width = Unit.Percentage(100);
t1.BorderWidth = 1;
TableRow tr1 = new TableRow();
TableCell tc1 = new TableCell();
Label lbl = new Label();
lbl.Text = "level" + i;
lbl.Width = 26;
tc1.Controls.Add(lbl);
tr1.Cells.Add(tc1);
t1.Rows.Add(tr1);
tc.Controls.Add(t1);
tc = tc1;
}

return t;
}
-------------------------------------------

This shows only tables up to 26 levels and for 27th level it shows only
table without lable and after that nothing it shows....

If i need more levels of TABLE Controls in IE - WHAT TO DO?

Please give me pointers....

Thanks in Advance,
Mahesh
May 29 '06 #1
0 1452

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

Similar topics

5
by: javaguy | last post by:
I have a data entry web application that is formatted heavily with tables. Having learned a bit of CSS, I'm hoping to rewrite this using <div> tags. But I have run into a formatting problem that...
0
by: Max | last post by:
Suppose we have an object hierarchy in XSD. For example, let us take Control, Label, TextBox and LinkLabel windows controls. Each control has some properties which are represented as elements....
15
by: Hemant Shah | last post by:
Folks, We have an SQL statement that was coded in an application many years ago (starting with DB V2 I think). When I upgraded to UDB 8.2, the optimizer does not use optimal path to access the...
3
by: Paul Bromley | last post by:
I have an application that needs to utilise an XML file produced by an external application. However I am having problems getting this into a Dataset using...
0
by: Mahesh Devjibhai Dhola | last post by:
Hi, I dont know its good design or not but I have one REQUIREMENT that, I need nested tables (one table control into another table control) up to N level. and N can be anything positive integer up...
21
by: cmd | last post by:
I have code in the OnExit event of a control on a subform. The code works properly in this instance. If, however, I put the same code in the OnExit event of a control on a Tab Control of a main...
0
by: khurram.shakir | last post by:
I am developing an application, which uses .NET 2.0/WinForms and has a designer for screen layout designing. User has an option to design the layout of screen, and for that we developed our own...
1
by: Peter Rilling | last post by:
Hi. I would like to create some controls that allow control elements. For instance, <foo:MyControl ...> <foo:SomeNestedControl .../> </foo:MyControl> The questions are,
8
by: Tomasz J | last post by:
Hello developers, After migrating my web project application (using the old model) to .Net Framework 3.5 and Ajax Control Toolkit release 20820 the Accordion control no longer works correctly....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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
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
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
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,...
0
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...

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.