[CLOSED] space in combo items

  1. #1

    [CLOSED] space in combo items

    Hi..
    im using coolite version 0.8.1.987 ..


    <ext:ComboBox ID="cmbEmployeeName" runat="server" Width="230">
    
     <Items>
                                <ext:ListItem Text="Kiran          Kumar      Nayak" />
                                </Items>
                                </ext:ComboBox>
    in List items i have added spaces like this " Kiran Kumar Nayak" but while loading it is not displaying spaces in combo..
    how to load listitem including spaces?
    Last edited by Daniil; Dec 15, 2011 at 2:15 PM. Reason: Please use [CODE] tags, [CLOSED]
  2. #2
    Hi,

    Please try
    &nbsp;
    instead of space characters.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    Please try
    &nbsp;
    instead of space characters.
    im loading items from database...
    In database space between the two words of column are triming when i load the combo box..it should accept as many spaces as given in database table column..
  4. #4
    Spaces are not trimmed, html ignores spaces (combo dropdown list is html element)
    The single way to replace white spaces by html none break spaces '&nbsp;' (read from db, replaces spaces and place changed value to ListItem)

Similar Threads

  1. [CLOSED] [1.3] Duplicate Items on Combo
    By MP in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 18, 2012, 5:18 PM
  2. Reducing space between two vertical combo box
    By abhijit in forum 1.x Help
    Replies: 4
    Last Post: Dec 23, 2011, 11:47 AM
  3. Dynamically bind Toolbar items on Combo change
    By shankar in forum 1.x Help
    Replies: 2
    Last Post: Jul 07, 2010, 3:35 PM
  4. [CLOSED] Add Combo items
    By PoloTheMonk in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Feb 23, 2010, 1:00 PM
  5. Combo items not showing in FormLayout
    By myron in forum 1.x Help
    Replies: 3
    Last Post: Jun 25, 2009, 1:01 AM

Posting Permissions