Hi,
I am trying to have a an autocomplete combobox with an Editorstyle at the sametime.
The autocomplete works without the Editorstyle, but putting the editorstyle in like this, will stop the autocomplete from working.
Any idears ?.
Best
Ole
I am trying to have a an autocomplete combobox with an Editorstyle at the sametime.
The autocomplete works without the Editorstyle, but putting the editorstyle in like this, will stop the autocomplete from working.
Any idears ?.
Best
Ole
<
telerik:GridViewComboBoxColumn
UniqueName
=
"cmbActionBy"
IsComboBoxEditable
=
"True"
Header
=
"Action by"
DataMemberBinding
=
"{Binding Path=tblContact}"
telerik:TextSearch.TextPath
=
"ShortName"
DisplayMemberPath
=
"ShortName"
Width
=
"80"
SortMemberPath
=
"tblContact.ShortName"
EditorStyle
=
"{Binding Source={StaticResource MyStyle}}"
>
<
Style
x:Key
=
"MyStyle"
TargetType
=
"telerik:RadComboBox"
>
<
Setter
Property
=
"ItemTemplate"
>
<
Setter.Value
>
<
DataTemplate
>
<
StackPanel
Orientation
=
"Vertical"
VerticalAlignment
=
"Center"
>
<
TextBlock
Text
=
"{Binding Path=Name}"
TextAlignment
=
"Left"
HorizontalAlignment
=
"Left"
/>
<
TextBlock
Text
=
"{Binding Path=ShortName}"
TextAlignment
=
"Right"
HorizontalAlignment
=
"Right"
Margin
=
"5,0,0,0"
/>
</
StackPanel
>
</
DataTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>