Hi, 
I'm using a radcombobox with checkboxes and need to set the initial text to blank.
I have tried different methods but nothing helps.
I have this code:
    
    
With this code the first elements text is set as initial text.
I want it to be blank or to be set like: "Please choose".
I could solve it be add a item with blank text and value but in that case I need to hide the checkbox in some way on that item.
 
Regards,
Mattias
                                I'm using a radcombobox with checkboxes and need to set the initial text to blank.
I have tried different methods but nothing helps.
I have this code:
| IList types = EnumHelper.ToLocalizedList(typeof(FaultyType), Resources.resources.ResourceManager); | 
| foreach (KeyValuePair<Enum, string> keyval in types) | 
| { | 
| RadComboBoxItem item = new RadComboBoxItem(); | 
| item.Text = keyval.Value; | 
| item.Value = keyval.Key.ToString(); | 
| radComboBoxFaultyTypes.Items.Add(item); | 
| item.DataBind(); | 
| } | 
| <telerik:RadComboBox ID="radComboBoxFaultyTypes" runat="server" | 
| onitemdatabound="radComboBoxFaultyTypes_ItemDataBound"> | 
| <ItemTemplate> | 
| <div onclick="StopPropagation(event); SetFaultyTypesText();" class="combo-item-template"> | 
| <asp:CheckBox runat="server" ID="chk1" /> | 
| <asp:Label runat="server" ID="labelFaultyTypeName" AssociatedControlID="chk1" Text='<%# DataBinder.Eval(Container, "Text") %>' > </asp:Label> | 
| </div> | 
| </ItemTemplate> | 
| </telerik:RadComboBox> | 
With this code the first elements text is set as initial text.
I want it to be blank or to be set like: "Please choose".
I could solve it be add a item with blank text and value but in that case I need to hide the checkbox in some way on that item.
Regards,
Mattias
