[CLOSED] How does TableLayout() object works ??;

  1. #1

    [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




  2. #2

    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 http://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.


    Geoffrey McGill
    Founder & CEO
  3. #3

    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#.

    http://examples1.ext.net/#/Layout/Ta...ple_in_Markup/
    http://examples1.ext.net/#/Layout/Ta...in_CodeBehind/



    Hope this helps.


    Geoffrey McGill
    Founder & CEO
  4. #4

    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 !!!

Similar Threads

  1. Replies: 24
    Last Post: Aug 06, 2012, 12:26 PM
  2. [CLOSED] Uncaught TypeError: Object #<Object> has no method '***'
    By Sevilay Tanış in forum 1.x Premium Help
    Replies: 7
    Last Post: Mar 27, 2012, 5:44 PM
  3. Replies: 0
    Last Post: Oct 21, 2011, 4:04 AM
  4. Replies: 1
    Last Post: Sep 13, 2011, 6:19 PM
  5. Replies: 0
    Last Post: Apr 14, 2009, 1:33 PM

Posting Permissions