Custom ComboBox style

2 posts, 0 answers
  1. Pavel
    Pavel avatar
    2 posts
    Member since:
    Nov 2007

    Posted 24 Dec 2012 Link to this post

    I have custom ComboBox in GridView cell.

    <telerik:GridViewColumn Header="Группа" IsReadOnly="False">
        <telerik:GridViewColumn.CellEditTemplate>
            <DataTemplate>
                <ComboBox ItemsSource="{Binding Path=[ClientGroupList]}" SelectedItem="{Binding Path=[ClientGroup], Mode=TwoWay}" DisplayMemberPath="Name" SelectedValuePath="Id" />
            </DataTemplate>
        </telerik:GridViewColumn.CellEditTemplate>
        <telerik:GridViewColumn.CellTemplate>
            <DataTemplate>
                <TextBlock Text="{Binding Path=[ClientGroup].Name}"/>
            </DataTemplate>
        </telerik:GridViewColumn.CellTemplate>
    </telerik:GridViewColumn>

    In edit mode my custom ComboBox did not look like a GridViewComboBoxColumn ComboBox.How to fix it? What styles should be set?
  2. Rossen Hristov
    Admin
    Rossen Hristov avatar
    2477 posts

    Posted 25 Dec 2012 Link to this post

    Hi,

    Our default template uses Telerik's RadComboBox. Maybe this is the cause of the difference?

    All the best,
    Rossen Hristov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top