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

Custom ComboBox style

1 Answer 45 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Pavel
Top achievements
Rank 1
Pavel asked on 25 Dec 2012, 05:00 AM
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?

1 Answer, 1 is accepted

Sort by
0
Rossen Hristov
Telerik team
answered on 25 Dec 2012, 07:40 AM
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.

Tags
GridView
Asked by
Pavel
Top achievements
Rank 1
Answers by
Rossen Hristov
Telerik team
Share this question
or