combobox does not support text property

2 posts, 0 answers
  1. Kasthuri
    Kasthuri avatar
    25 posts
    Member since:
    Aug 2011

    Posted 29 Nov 2011 Link to this post

    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.
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 01 Dec 2011 Link to this post

    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 >>
  3. DevCraft banner
Back to Top