:: Forum >>
Nest Controls into Tabs
I have a html Table, and every other controls are nested in this Table. Now, I like to nest this table along with the controls inside into the AW.Tabs. Could you give me a simple code to do it? I tried as following code, but it didn't work.
<script>
var obj = new AW.UI.Tabs;
obj.setItemText(["Step 1", "Step 2", "Step 3:"]);
obj.setItemCount(3);
obj.setSelectedItems([0]);
obj.setStyle("width", "100%");
document.write(obj);
</script>
<table id="table1" runat="server" width="100%">
//some controls nested in here
</table>
<script>
var page1 = [table1];
container.element().innerHTML = page1.join("");
</script>
Thanks,
mrhsh
Thursday, April 10, 2008
This topic is archived.
Back to support forum
Forum search