Jul 26, 2011, 4:57 PM
How can I prevent selecting the content of this Panel?
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test6.aspx.cs" Inherits="test6" %>
<%@ 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 runat="server">
<title>Test6</title>
</head>
<body>
<form id="fGestionTest" runat="server">
<ext:ResourceManager ID="ResourceManager1" runat="server" />
<ext:Panel ID="panelHacerTest" runat="server" Padding="15" Border="true" Height="300" Width="300" >
<Content>
<ext:Label ID="question1" runat="server" Text="1. The user is ..."></ext:Label>
<ext:RadioGroup ID="radioGroup1" runat="server" ColumnsNumber="1">
<Items>
<ext:Radio ID="op1" runat="server" BoxLabel="a) Option A"></ext:Radio>
<ext:Radio ID="op2" runat="server" BoxLabel="b) Option B"></ext:Radio>
<ext:Radio ID="op3" runat="server" BoxLabel="c) Option C"></ext:Radio>
</Items>
</ext:RadioGroup>
<br /><br />
<ext:Label ID="question2" runat="server" Text="2. The solution is ..."></ext:Label>
<ext:RadioGroup ID="radioGroup2" runat="server" ColumnsNumber="1">
<Items>
<ext:Radio ID="op4" runat="server" BoxLabel="a) Option A"></ext:Radio>
<ext:Radio ID="op5" runat="server" BoxLabel="b) Option B"></ext:Radio>
<ext:Radio ID="op6" runat="server" BoxLabel="c) Option C"></ext:Radio>
</Items>
</ext:RadioGroup>
</Content>
</ext:Panel>
</form>
</body>
</html>
I want to prevent selecting the content of this panel (neither labels neither options), but the user must be allowed to select any option of the radiogroups for checking it.