Mar 30, 2012, 8:47 PM
[CLOSED] ext:ComboBox ListItem with html image tag
Hi!
I inserted in ext:listitem of ext:combobox a html image tag, as follow bellow:
The images are loaded in listitems... but when I select the item, in text of ext:combox appears the tag instead of image.
I inserted in ext:listitem of ext:combobox a html image tag, as follow bellow:
The images are loaded in listitems... but when I select the item, in text of ext:combox appears the tag instead of image.
<ext:ComboBox runat="server" ID="cmbPrioridade" FieldLabel="Prioridade" Editable="false" X="5" Y="290" Width="180">
<Items>
<ext:ListItem Text="<img src='/resources/images/toolbar/16x16/tarefas/prioridade/urgente.png'/> Urgente" Value="0" />
<ext:ListItem Text="<img src='/resources/images/toolbar/16x16/tarefas/prioridade/muito alta.png'/> Muito alta" Value="1" />
<ext:ListItem Text="<img src='/resources/images/toolbar/16x16/tarefas/prioridade/alta.png'/> Alta" Value="2" />
<ext:ListItem Text="<img src='/resources/images/toolbar/16x16/tarefas/prioridade/normal.png'/> Normal" Value="3" />
<ext:ListItem Text="<img src='/resources/images/toolbar/16x16/tarefas/prioridade/baixa.png'/> Baixa" Value="4" />
<ext:ListItem Text="<img src='/resources/images/toolbar/16x16/tarefas/prioridade/muito baixa.png'/> Muito baixa" Value="6" />
<ext:ListItem Text="(Nenhum)" Value="-1" />
</Items>
<SelectedItems>
<ext:ListItem Value="-1" />
</SelectedItems>
</ext:ComboBox>
Last edited by Daniil; Apr 02, 2012 at 2:03 PM.
Reason: [CLOSED]