Jan 09, 2010, 5:19 PM
Set ImageURL
Hi,
The ComboBox is linked to StoreIcon containing the Name and URL of the icon. By selecting the name in the ComboBox I want to show the icon on the ImageButton. Is it possible?
Coolite 0.8.1
The ComboBox is linked to StoreIcon containing the Name and URL of the icon. By selecting the name in the ComboBox I want to show the icon on the ImageButton. Is it possible?
<ext:Store runat="server" ID="StoreIcon" AutoLoad="true">
<Reader>
<ext:JsonReader>
<Fields>
<ext:RecordField Name="name" />
<ext:RecordField Name="url" />
</Fields>
</ext:JsonReader>
</Reader>
</ext:Store>
<ext:MultiField runat="server">
<Fields>
<ext:ComboBox ID="cbxIcone" runat="server"
TypeAhead="true"
Mode="Local"
ForceSelection="true"
Editable="false"
TriggerAction="All"
FieldLabel="Icone"
AllowBlank="false"
StoreID="StoreIcon"
ValueField="name"
DisplayField="name"
Width="200"
>
<SelectedItem Value="Application" />
<Listeners>
<Select Handler="#{ImageButton1}.?????????????" />
</Listeners>
</ext:ComboBox>
<ext:ImageButton ID="ImageButton1" runat="server" ImageUrl="/icons/application-png/coolite.axd" >
</ext:ImageButton>
</Fields>
</ext:MultiField>
MaiaCoolite 0.8.1