how to add item in ajax ComboBox control

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shweta sharma
    New Member
    • Oct 2011
    • 2

    #1

    how to add item in ajax ComboBox control

    i am using visual studio 2008 and i got ajax toolkit integrated ....

    i used combobox and i tried to add items in it statically but its not showing tht item in runtime(as i want to show that itme like dropdownlist)


    its not showing error and at runtime comboBox is visible but its item are not visible


    here is the way i add

    property->item->listitme-add


    or through

    ComboBox1.Items .Insert(0, "name");
    ComboBox1.Items .Insert(1, "name");
    ComboBox1.Items .Insert(2, "name");
    ComboBox1.Items .Insert(3, "name");
    ComboBox1.Items .Insert(4, "name");

    or through this way too

    ComboBox1.Items .Add("name1");
    ComboBox1.Items .Add("name2");
    ComboBox1.Items .Add("name3");
    ComboBox1.Items .Add("name4");
    ComboBox1.Items .Add("name5");



    plzzzzz tell me what i should do to add item in my combobox
  • CroCrew
    Recognized Expert Contributor
    • Jan 2008
    • 564

    #2
    This question needs to be moved to asp.net

    CroCrew~

    Comment

    Working...