Mapping to lookup value

2 posts, 0 answers
  1. jay
    jay avatar
    39 posts
    Member since:
    Jun 2010

    Posted 30 Oct 2010 Link to this post

    I have a radcombo box in a grid and it works as expected. Now i want to convert it to a label or read-only textbox so i will only be able to see the the selectedvalue. Is there a converter i can use to map to the lookup value in the XAML? Or is there a way of giving a combobox the look and feel of a label/text box ?
  2. Yana
    Yana avatar
    4604 posts

    Posted 04 Nov 2010 Link to this post

    Hi Jay,

    Please use the following code snippet to achieve the needed look of RadComboBox:

        <Style TargetType="telerik:RadToggleButton">
            <Setter Property="Visibility" Value="Collapsed" />
    <StackPanel Name="LayoutRoot" Background="White" >
        <telerik:RadComboBox Width="150" IsEditable="True" IsReadOnly="True" SelectedIndex="0">
            <telerik:RadComboBoxItem Content="Item1" />
            <telerik:RadComboBoxItem Content="Item2" />
            <telerik:RadComboBoxItem Content="Item3" />

    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top