I have some custom text that I am displaying in a radcombobox based on the following template:
However, when an item is highlighted with the up/down arrows, the DataTextField (AmountUSD) value shows. For example, the combobox item will show "US $20 = EC $54" in the list, but when highlighted, the combobox text will show "20.0000".
I would like to either have the combobox text show as the template text or not show at all.
This custom text is already stored in an attribute called "DisplayText". Is there a way to use that?
<
ItemTemplate
>
US
<%# DataBinder.Eval(Container.DataItem, "AmountUSD", "{0:$####}")%>
=
<%# DataBinder.Eval(Container.DataItem, "Code") %>
<%# DataBinder.Eval(Container.DataItem, "AmountLocal", "{0:$####}") %>
</
ItemTemplate
>
However, when an item is highlighted with the up/down arrows, the DataTextField (AmountUSD) value shows. For example, the combobox item will show "US $20 = EC $54" in the list, but when highlighted, the combobox text will show "20.0000".
I would like to either have the combobox text show as the template text or not show at all.
This custom text is already stored in an attribute called "DisplayText". Is there a way to use that?