[CLOSED] get more than one text from combo box

  1. #1

    [CLOSED] get more than one text from combo box


    Hi guys,
    I need to get two text from combo box
    combo.SelectedItem.Text; will get the me the selected text
    may be I need to pass the data store.
    My combo text like this 2007, 2008,2009,2010
    So if the user select 2010 I need to get grab 2009 too

    Can you direct me to some example
    Thank you
  2. #2

    RE: [CLOSED] get more than one text from combo box

    Hi,

    Please provide more details. I don't understand your requirements
    Combobox can provide one value only. If you need to select several values then use MultiCombo control
  3. #3

    RE: [CLOSED] get more than one text from combo box

    Hi Vlad,

    The combobox get its values from database the values are list of years(2005,2007,2008,2010)

    The customer want to select 2010 but my code need to show them data from 2010 and 2008 the perior year. I thought since the data already on the page my be I can send the full list to the server and I can grab 2008 because it is before the selected value which is 2010. The main reason I am trying to do that so I won't go to the database again

  4. #4

    RE: [CLOSED] get more than one text from combo box

    Hi,

    1. You can cache DB data on the server side (it will avoid to retrieve data from DB and avoid to send data from client side (save traffic) ). For example, use ASP.NET cache


    2. If you still want to read all data from combo's store and send back to the server then use the following extra parameter
    <ext:Parameter Name="values" Value="Combo1.store.getRecordsValues()" Encode="true" Mode="Raw"/>
  5. #5

    RE: [CLOSED] get more than one text from combo box

    Thanks Vlad. can you mark it as solved. That was what I needed

    I couldn't use caching because the data is not the same. every record can used in different years.

Similar Threads

  1. [CLOSED] Combo selected text
    By Adrian in forum 2.x Legacy Premium Help
    Replies: 13
    Last Post: Jan 31, 2012, 11:47 PM
  2. [CLOSED] Display Text on Remote Combo
    By peter.campbell in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jan 24, 2012, 3:27 PM
  3. text search in combo box
    By Mr.Techno in forum 1.x Help
    Replies: 8
    Last Post: Dec 30, 2011, 5:14 AM
  4. Combo Box TEXT Problem
    By EMS in forum 1.x Help
    Replies: 1
    Last Post: Dec 07, 2010, 2:36 PM
  5. combo box empty text
    By [WP]joju in forum 1.x Help
    Replies: 2
    Last Post: Oct 16, 2009, 4:19 AM

Posting Permissions