Combobox Item with operation symbols

  1. #1

    Combobox Item with operation symbols

    How can I use operator symbols like =, <, >, <>, <= or >= in a Combobox Items?

    I'm try with this but they are marked as error.

                    <ext:ComboBox 
                        ID="Condicion" 
                        runat="server" 
                        FieldLabel="<%$ Resources:BaseLocalizedText, ReglasMensajesTransaccionales_Condicion_Mantenimiento%>" 
                        AutoWidth="true" Editable="false">
                        <Items>
                            <ext:ListItem Value="="    Text="=" />
                            <ext:ListItem Value="<>"    Text="<>" />
                            <ext:ListItem Value="<"    Text="<" />
                            <ext:ListItem Value="<="    Text="<=" />
                            <ext:ListItem Value=">"    Text=">" />
                            <ext:ListItem Value=">="    Text=">=" />
                        </Items>
                    </ext:ComboBox>
    I'm trying to with...
    <ext:ListItem Text="=" Value="=" />
    <ext:ListItem Text="&amp;lt;" Value="&amp;lt;" />
    <ext:ListItem Text="&amp;lt;=" Value="&amp;lt;=" />
    <ext:ListItem Text="&amp;gt;" Value="&amp;gt;" />
    <ext:ListItem Text="&amp;gt;=" Value="&amp;gt;=" />
    <ext:ListItem Text="&amp;lt;&amp;gt;" Value="&amp;lt;&amp;gt;" />
    but when i use Condicion.getValue(), obtain the HTML value "&amp;lt;" and not the character value.

    Thanks!!!
  2. #2

Similar Threads

  1. I can not select any item in combobox
    By marco.amusquivar in forum 1.x Help
    Replies: 1
    Last Post: Mar 21, 2012, 8:09 PM
  2. [CLOSED] Always selected Item is nothing for combobox as menu item
    By rnachman in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Sep 04, 2011, 4:51 PM
  3. [CLOSED] Special symbols escaping problem
    By acrossdev in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Jul 21, 2009, 12:16 AM
  4. ComboBox and New item
    By sfvaleriano in forum 1.x Help
    Replies: 5
    Last Post: Jul 10, 2009, 7:50 AM
  5. Select a item in a Combobox
    By eliezer in forum 1.x Help
    Replies: 1
    Last Post: Apr 16, 2009, 12:23 PM

Tags for this Thread

Posting Permissions