[CLOSED] Radio Group width

  1. #1

    [CLOSED] Radio Group width

    Hi

    Not sure if this is a bug or not...but just thought I would report it anyway.

    When using a radio group - I have set column widths for my radio buttons. However, if you do not set a width for the group then nothing is displayed in IE (it is displayed in firefox).

    <ext:RadioGroup ID="grpItems" runat="server" ColumnsWidths="80,190">
            <Items>
                <ext:Radio ID="radio1" runat="server" Checked="true" BoxLabel="Radio 1" >
                </ext:Radio>
                <ext:Radio ID="radio2" runat="server" BoxLabel="Radio 2">
                </ext:Radio>
            </Items>
        </ext:RadioGroup>
    You need to explicitly add a width to the Radio Group for it to be displayed in IE.

    Thanks
    Glen
  2. #2
    Hello @glenh,

    If you add your radioGroup inside a container you will notice how the radio items display without any width parameter.
    <!DOCTYPE html>
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head runat="server">
        <title></title>
    </head>
    <body>
        <form id="form1" runat="server">
            <div>
                oi
                <ext:ResourceManager runat="server" SourceFormatting="true" ScriptMode="Debug" />
                <ext:Container runat="server">
                    <Items>
                        <ext:RadioGroup ID="grpItems" runat="server" ColumnsWidths="80,190">
                            <Items>
                                <ext:Radio ID="radio1" runat="server" Checked="true" BoxLabel="Radio 1">
                                </ext:Radio>
                                <ext:Radio ID="radio2" runat="server" BoxLabel="Radio 2">
                                </ext:Radio>
                            </Items>
                        </ext:RadioGroup>
                    </Items>
                </ext:Container>
            </div>
        </form>
    </body>
    </html>
    But in fact, for Ext.NET v2+, you don't necessarily need to have the radio group inside anything.

    Did you notice this behavior while building a more complex, production form, where panels and containers are expected to be in place to build the view?
    Fabrício Murta
    Developer & Support Expert

Similar Threads

  1. [CLOSED] Highlight Checked Radio Button in Radio Button Group
    By rcombis in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Aug 06, 2014, 7:26 PM
  2. [CLOSED] ext:Radio width
    By sharif in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Aug 16, 2010, 3:56 PM
  3. Retrieve checked radio from Radio Group
    By ttharaka2002 in forum 1.x Help
    Replies: 0
    Last Post: Mar 25, 2010, 2:15 AM
  4. [CLOSED] Radio group wraps labels
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Oct 07, 2009, 10:37 AM
  5. [CLOSED] Dynamic Creation of Radio Buttons within Radio Group
    By Steve in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Mar 04, 2009, 1:13 PM

Posting Permissions