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

RadComboBox Empty Entry

1 Answer 274 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Brian Mains
Top achievements
Rank 1
Brian Mains asked on 24 Sep 2009, 03:11 PM
Hello,

I want to allow an empty value to be selected in my RadComboBox.  I would just add a manual entry and add the AppendDataBoundItems="true" to it, but the thing is I refresh this RadComboBox on the client side too.  So I would like to allow an empty entry, without having to ensure an empty record is there.  Is that possible?  If not, is adding the empty entry the solution?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 26 Sep 2009, 12:40 PM
Hello Brian,

I am not sure what exactly you need to implement, but it might consider using the client API to add items on the client:
http://demos.telerik.com/aspnet-ajax/combobox/examples/programming/addremovedisableitemsclientside/defaultcs.aspx

Also, if you item is selected like in when you have EnableLoadOnDemand="true" you can use the EmptyMessage property. For example, EmptyMessage="custom text...".

If these suggestions don't help you with your requirement, please provide more details and we will try to find an appropriate solution.



Peter
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
ComboBox
Asked by
Brian Mains
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or