[CLOSED] How does TableLayout() object works ??;
hi everybody
i have been working with the coolite controls in code behind i found examples and i still find out how does this object (pnlNorth.Content = new TableLayout()) work? because in HTML code it´s like this
<North>
<ext:Panel ID="pnlNorth" runat="server" Height="80" Border="false" Header="false" BodyStyle="background-color: transparent;">
<Content>
<div id="settingsWrapper">
<div id="settings">
<ul>
<li id="itemAddContent"><a href="#">Add contet</a></li>
<li id="itemComments"><a href="#">Coment</a></li>
<li id="itemActivities"><a href="#">Activities</a></li>
<li id="itemContacts"><a href="#">Contacts</a></li>
</ul>
<div id="pageTitle">example page
</ext:Panel>
</North>
and works great i want it to do the same in the code behind but i don´t understand how can i put code in the content because this //pnlNorth.Content = new TableLayout() is commented
code behind
// Make Panel for North Region
Coolite.Ext.Web.Panel north = new Coolite.Ext.Web.Panel();
north.ID = "NorthPanel";
north.Title = "North";
north.Height = Unit.Pixel(45);
north.Border = true;
north.Header = false;
north.BodyStyle = "background-color: transparent;";
north.Html = "Example";
//north.Content = new TableLayout();
THe question is how can i place code into that object or how does it work?
if anybody has some info about this i will appreciate it a lot or if you have any link it will be fine too
RE: [CLOSED] How does TableLayout() object works ??;
Hi heysol,
The following ViewPort example is a good demonstration of how to add Controls from code-behind, see*https://examples1.ext.net/#/ViewPort...in_CodeBehind/
We have a <ext:TableLayout> sample which has not been added to the Examples Explorer, so I'll clean it up and post online shortly.
Hope this helps.
RE: [CLOSED] How does TableLayout() object works ??;
Two new TableLayout examples have been added to the explorer. Same Layout done in both markup and C#.
https://examples1.ext.net/#/Layout/T...ple_in_Markup/
https://examples1.ext.net/#/Layout/T...in_CodeBehind/
Hope this helps.
RE: [CLOSED] How does TableLayout() object works ??;
Thanks geoffrey
i appreciate your help it was good enough. Let me try it. by the way do you have some an example with a radio button running on server cause i want to fiil a combobox with a radio i thought it was the same as a button but i can´t make it run
Coolite it´s really awesome !!!