ReadOnly Property for RadioGroup does not work fine

  1. #1

    ReadOnly Property for RadioGroup does not work fine

    I want to show the options of a radiogroup but in readonly mode (because I want to show results and only one of them was checked before).
    The issue is that readonly mode does not work properly, because I can select any options of the radiogroup.

    <%@ Page Language="C#" %> 
    <%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
     
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head id="Head1" runat="server">
        <title>Ext.Net Example</title>
    </head>
    <body>
        <form id="Form1" runat="server">
            <ext:ResourceManager ID="ResourceManager1" runat="server" />
            <ext:RadioGroup ID="BallsType" runat="server" ColumnsNumber="1" FieldLabel="Balls" ReadOnly="true">
                <Items>
                    <ext:Radio ID="BallA" runat="server" BoxLabel="a" />
                    <ext:Radio ID="BallB" runat="server" BoxLabel="b" Checked="true" />
                    <ext:Radio ID="BallC" runat="server" BoxLabel="c" />
                </Items>
            </ext:RadioGroup>        
        </form>
    </body>
    </html>
    Any idea?

    Note: I don´t want to use 'Disabled=true'

    Thanks.
  2. #2
    Hi,

    Please follow
    http://forums.ext.net/showthread.php?10056

    Please note that the Radio class is inherited from the Checkbox one and have the same behavior in this part.

Similar Threads

  1. ReadOnly Property
    By YusufHotelwala in forum 1.x Help
    Replies: 4
    Last Post: Sep 25, 2011, 8:14 PM
  2. Readonly Property
    By vivekrane1986 in forum 1.x Help
    Replies: 2
    Last Post: Sep 14, 2010, 6:08 AM
  3. readonly property
    By maxdiable in forum 1.x Help
    Replies: 0
    Last Post: Jan 21, 2010, 11:51 AM
  4. Replies: 2
    Last Post: Mar 16, 2009, 1:50 PM
  5. Readonly property
    By speedstepmem4 in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Dec 01, 2008, 5:25 PM

Posting Permissions