Sep 06, 2010, 8:14 AM
Combobox DisplayField 2 fields???
<ext:Store ID="StoreMotori" runat="server" DataSourceID="ObjectDataSourceMotori">
<Reader>
<ext:JsonReader IDProperty="ID">
<Fields>
<ext:RecordField Name="Brand" />
<ext:RecordField Name="Model" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
<ext:ComboBox
ID="ComboBoxMotore1"
StoreID="StoreMotori"
ValueField="ID"
DisplayField=""Brand + "Model"
runat="server"
AllowBlank = "false"
EnableKeyEvents="true"
Width="220">
</ext:ComboBox>
<Reader>
<ext:JsonReader IDProperty="ID">
<Fields>
<ext:RecordField Name="Brand" />
<ext:RecordField Name="Model" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
<ext:ComboBox
ID="ComboBoxMotore1"
StoreID="StoreMotori"
ValueField="ID"
DisplayField=""Brand + "Model"
runat="server"
AllowBlank = "false"
EnableKeyEvents="true"
Width="220">
</ext:ComboBox>