Jul 21, 2011, 3:14 PM
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.
Note: I don´t want to use 'Disabled=true'
Thanks.
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.