By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,660 Members | 1,593 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,660 IT Pros & Developers. It's quick & easy.

how to add item in ajax ComboBox control

P: 2
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
Oct 15 '11 #1
Share this Question
Share on Google+
1 Reply


CroCrew
Expert 100+
P: 563
This question needs to be moved to asp.net

CroCrew~
Nov 17 '11 #2

Post your reply

Sign in to post your reply or Sign up for a free account.