This is a migrated thread and some comments may be shown as answers.

Add new Item in Radcombobox

3 Answers 132 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Damodar
Top achievements
Rank 1
Damodar asked on 31 Jan 2011, 05:55 AM
Hi all,
I have combobox, it will be loaded after typing 3 letter. Search is done in db stored proc and Combobox is loaded, if results are found. 
And If we don't have searched item user can add the item.
I have multi column combo.
can that be done in one combobox or what do you suggest?
e.g. if i type Act it search all data with act and loads data. if we dont' have result allow to add the item!

Act
Post            Location     Manager
CP              Activa          George
Accountant  EgyptMain    Jemison

zun
Post            Location        Manager

     

3 Answers, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 31 Jan 2011, 11:34 AM
Hello,

One approach is to use FooterTemplate with TextBoxes and a Button. Then add the new items in db by building new SQL query and rebind the RadComboBox .

Also refer the following forum which has discussed similar scenario.
Add new records within RadCombobox

Thanks,
Shinu.
0
Damodar
Top achievements
Rank 1
answered on 31 Jan 2011, 11:55 PM
Hi Shinu,

Thank you for quick response. I have another question regarding combobox.
When I load it, it doesn't show me item in the Radcombobox(when dropdown button is pressed) but the item text is present.
I have attached the image.

Regards,
Damodar

0
Damodar
Top achievements
Rank 1
answered on 01 Feb 2011, 12:44 AM
Thanks for your help!
Tags
ComboBox
Asked by
Damodar
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Damodar
Top achievements
Rank 1
Share this question
or