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

[Solved] Value NULL in item

1 Answer 173 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
GD
Top achievements
Rank 1
GD asked on 04 Jan 2010, 09:05 PM
                <telerik:RadComboBox ID="cmbCategoria"   
                                     runat="server" 
                                     DataSourceID="odsCategoria"   
                                     DataValueField="Id" 
                                     DataTextField="Descrizione" 
                                     AppendDataBoundItems="true" 
                                     SelectedValue='<%# Bind("IdCategoria") %>'>  
                    <Items> 
                        <telerik:RadComboBoxItem Value="XXX" /> 
                    </Items> 
                </telerik:RadComboBox> 

Can I set null in Value of RadioComboBoxItem?

1 Answer, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 05 Jan 2010, 03:17 PM
Hello Claudio,

You can if you do it in the code-behind. Why do you need to set NULL to the Value property? Isn't an empty string sufficient enough?

Best wishes,
Simon
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
GD
Top achievements
Rank 1
Answers by
Simon
Telerik team
Share this question
or