Apr 24, 2009, 4:54 AM
[CLOSED] Simple radiogroup question
Hi
I want to add a simple radio group to a page like this, but it look really bad. The label and the actuall button does not align on the same row. Am I required to use the FormLayout?
It would be nice to just att a simple radiogroup without all the extra containers. Is that possible?
/Mikael
I want to add a simple radio group to a page like this, but it look really bad. The label and the actuall button does not align on the same row. Am I required to use the FormLayout?
It would be nice to just att a simple radiogroup without all the extra containers. Is that possible?
/Mikael
<%@ Page Language="C#" %>
<%@ Register Assembly="Coolite.Ext.Web" Namespace="Coolite.Ext.Web" TagPrefix="ext" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<script runat="server">
protected void Page_Load(object sender, EventArgs e)
{
}
</script>
<script type="text/javascript">
</script>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<ext:ScriptManager runat="server" ID="ScriptManager1"></ext:ScriptManager>
<ext:RadioGroup runat="server" ID="rgTest" Width="400">
<Items>
<ext:Radio runat="server" ID="rb1" FieldLabel="Enable"></ext:Radio>
<ext:Radio runat="server" ID="rb2" FieldLabel="Disable"></ext:Radio>
</Items>
</ext:RadioGroup>
</form>
</body>
</html>