Feb 26, 2011, 11:02 PM
[CLOSED] CompositeField
Hi, guys,
I am developing a website and using compositefield in many places, and found some things that I dont know if I am doing right.
Code sample bellow.
1. ComboBox with FieldLabel on top: tried with compositefield and hboxlabel.
2. Fileupload inside compositefield
Code:
I am developing a website and using compositefield in many places, and found some things that I dont know if I am doing right.
Code sample bellow.
1. ComboBox with FieldLabel on top: tried with compositefield and hboxlabel.
2. Fileupload inside compositefield
Code:
<%@ Page Language="C#" %>
<%@ Register Assembly="Ext.Net" Namespace="Ext.Net" TagPrefix="ext" %>
<%@ Register TagPrefix="asp" Namespace="System.Web.UI.DataVisualization.Charting" %>
<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>
<!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">
</head>
<body>
<ext:ResourceManager runat="server" />
Label Align Top - Panel hbox
<ext:Panel Border="false" runat="server" Height="40" LabelAlign="top" Layout="HBoxLayout">
<Items>
<ext:ComboBox FieldLabel="Label" runat="server" />
<ext:ComboBox FieldLabel="Label" runat="server" />
</Items>
</ext:Panel>
Label Align Top - CompositeField
<ext:CompositeField runat="server" AutoHeight="true" LabelAlign="top">
<Items>
<ext:ComboBox FieldLabel="Label" runat="server" />
<ext:ComboBox FieldLabel="Label" runat="server" />
</Items>
</ext:CompositeField>
FileUpload
<ext:CompositeField runat="server">
<Items>
<ext:FileUploadField runat="server" />
</Items>
</ext:CompositeField>
</body>
</html>
Last edited by geoffrey.mcgill; Mar 01, 2011 at 3:44 PM.
Reason: [CLOSED]