PDA

View Full Version : Nested TableLayout



riccardosarti
Sep 25, 2008, 5:33 AM
can table layout be nested inside a TabPanel Tab? I mean, puntting a TabLayout in a Cell of another TableLayout which is in the ContentControls of a Tab beloging to a TabPanel

I tried it but I get javascript errors (it says it cannot found some dome elements)

thx

geoffrey.mcgill
Sep 25, 2008, 5:45 AM
Yes, although you would first need to add a new Panel (or anything inherited from PanelBase) into the cell, then drop the TableLayout into the new Panel.

The pattern is always... Panel --> Layout --> Panel --> Layout --> Panel, etc...

You can make a "hidden" Panel by setting the .Header and .Border properties to "false".

Example


<ext:Panel ID="Panel1" runat="server" Header="false" Border="false" />
Hope this helps.

geoffrey.mcgill
Sep 25, 2008, 9:13 AM
I'm just checking in to see if you successfully got TableLayout/Panel nesting to work?

riccardosarti
Sep 25, 2008, 9:57 AM
nope, at first try I still get javascript errors; maybe it relays on the fact it's all dinamically built. Anyway I'll check further later to see if I mistaken something.

thx