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

combobox does not support text property

1 Answer 47 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Kasthuri
Top achievements
Rank 1
Kasthuri asked on 29 Nov 2011, 06:25 AM
hi,
combobox does not support text property, for RIA validation i need text property for ex see the below code
Text="{Binding Path=VendorCode , Mode=TwoWay, NotifyOnValidationError=true, UpdateSourceTrigger=Default, ValidatesOnExceptions=true}"

where  silverlight combobox control support this but the rad control dosn't how to resolve this?
<ComboBox    Text="{Binding Path=VendorCode , Mode=TwoWay, NotifyOnValidationError=true, UpdateSourceTrigger=Default, ValidatesOnExceptions=true}"
Margin="150,405,0,0" VerticalAlignment="Top" HorizontalAlignment="Left" Width="161" Name="cmbPaymentType">
<ComboBoxItem Content="Item 1"/>
<ComboBoxItem Content="Item 2"/>
<ComboBoxItem Content="Item 3"/>
<ComboBox>

thank you.

1 Answer, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 01 Dec 2011, 02:56 PM
Hello Kasthuri,

The RadComboBox has a Text property indeed, which you can use for the data validation. Also, you can refer to this online demo, which illustrated how to use data validation with RadComboBox.

Hope this information helps.

Kind regards,
Konstantina
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
Tags
ComboBox
Asked by
Kasthuri
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or