Multiple ext controls in single anchor (or workaround)

  1. #1

    Multiple ext controls in single anchor (or workaround)

    Hi,

    I am new too Coolite and have been browsing through the examples. I am now at the stage where I am experimenting with the best way to build a form myself. It all seems rather straightforward as long as you need a single control per row. I just use a FormLayout with Anchors.

    However there are instances when I want multiple controls in a single row and the Anchors don't seem to allow this. An example that's prbably common is multiple radiobuttons. Another is combo + 2x textboxes for phonenumbers (country/area/subscription).

    Right now it seems to me that could either create a control inheriting the right class combinign these controls or abandon the FormLayout alltogether and go with a ContainerLayout and do everything manually.

    What would be the recommended option here? I haven't seen any examples of these type of forms.

    Kind regards,

    Dirk Louwers
  2. #2

    RE: Multiple ext controls in single anchor (or workaround)

    Hi Dirk,

    I have a good picture of the Layout you are building. I'll make a sample for you.*


    Geoffrey McGill
    Founder
  3. #3

    RE: Multiple ext controls in single anchor (or workaround)

    Hi Geoffrey,

    Thanks, that would be very helpfull.

    Perhaps it would also be nice to demonstrate the use of Ext's nice validation? (The error image with tooltip).
    I would also like to suggest the development of a Coolite.Ext.Web.WebControl subclassing System.Web.UI.UserControl. I would very much like to be able to develop reusable combined controls in the future.

    Kind regards,

    Dirk Louwers
    Last edited by geoffrey.mcgill; Feb 22, 2011 at 3:53 AM.
  4. #4

    RE: Multiple ext controls in single anchor (or workaround)

    Hi Dirk,

    We should be committing the <ext:RadioGroup> and <ext:CheckboxGroup> controls later today. Those two will help simplify some Layout scenarios.*


    Once those are included I have a new "Advanced Layout"*sample to commit to the examples explorer.*


    Geoffrey McGill
    Founder
  5. #5

    RE: Multiple ext controls in single anchor (or workaround)

    Hi Geoffrey,

    Thanks. Looking forward to it!

    Best,

    Dirk

Similar Threads

  1. Adding multiple partial views in single call
    By Tallmaris in forum 1.x Help
    Replies: 0
    Last Post: Sep 14, 2011, 1:26 PM
  2. Multiple vType on a Single Control
    By huzzy143 in forum 1.x Help
    Replies: 2
    Last Post: Sep 09, 2011, 3:39 PM
  3. [CLOSED] multiple validations in single field
    By rnfigueira in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Mar 23, 2011, 5:45 PM
  4. [CLOSED] [1.0]multiple validators on a single textfield
    By betamax in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Mar 07, 2011, 7:32 PM

Posting Permissions