5 Answers, 1 is accepted
0
Hello Steve,
Could you please give us some more details on your case? The AutoCompleteBox does have a border by default, please check the attached screenshot.
I'm looking forward to your response.
Regards,
Kalin
Telerik
Could you please give us some more details on your case? The AutoCompleteBox does have a border by default, please check the attached screenshot.
I'm looking forward to your response.
Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Steve
Top achievements
Rank 1
answered on 20 Aug 2013, 09:49 PM
Here's the xaml (it's actually embedded in a UserControl with a dropdown button, but I disabled all of that to show just the RadAutoCompleteBox)....
And attached is an image of the problem. As you can see, not only is there no border, but the dropdown seems to be disabled.
<
telerik:RadAutoCompleteBox
x:Name
=
"RadAutoCompleteBox"
SelectionMode
=
"Single"
VerticalAlignment
=
"Top"
HorizontalAlignment
=
"Left"
Width
=
"{Binding ElementName=This, Path=ActualWidth}"
Height
=
"22"
DropDownWidth
=
"{Binding ElementName=This, Path=DropDownWidth}"
DisplayMemberPath
=
"{Binding ElementName=This, Path=DisplayMemberPath}"
ItemsSource
=
"{Binding ElementName=This, Path=ItemsSource}"
SelectedItem
=
"{Binding ElementName=This, Path=SelectedItem}"
/>
And attached is an image of the problem. As you can see, not only is there no border, but the dropdown seems to be disabled.
0
Hi Steve,
Could you please provide us with more information about the setup as we were unable to reproduce the described issue. We need more information about the "This" element and all the bindings of the AutoCompleteBox. Another option is to isolate it in a sample project and send it to us so we can investigate the situation further.
I'm looking forward to your response.
Regards,
Kalin
Telerik
Could you please provide us with more information about the setup as we were unable to reproduce the described issue. We need more information about the "This" element and all the bindings of the AutoCompleteBox. Another option is to isolate it in a sample project and send it to us so we can investigate the situation further.
I'm looking forward to your response.
Regards,
Kalin
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Steve
Top achievements
Rank 1
answered on 22 Aug 2013, 12:02 AM
I found the cause of the problem, but for the life of me I can't figure out why it occurs. Apparently use of the ReuxablesLegacy.dll ResourceLibrary is causing the problem. If I don't use it, the AutoCompleteBox operates as expected. The problem is that I need to use it. If you guys can figure out why the Telerik control would be affected by it I would greatly appreciated it. I tried applying the following Style to force the Border to show, but oddly enough the BorderBrush and BorderThickness Setters have no effect, whereas the Background Setter does.
So for now, I'm leaving the Background color in to distinguish the dropdown from the rest of the screen. Hopefully you'll be able to find resolution, as I am at a loss.
Thanks,
Steve
<
Style
TargetType
=
"{x:Type telerik:RadListBox}"
BasedOn
=
"{StaticResource {x:Type telerik:RadListBox}}"
>
<
Setter
Property
=
"BorderBrush"
Value
=
"#FF848484"
/>
<
Setter
Property
=
"BorderThickness"
Value
=
"1"
/>
<
Setter
Property
=
"Background"
Value
=
"#FFE9E9E9"
/>
</
Style
>
So for now, I'm leaving the Background color in to distinguish the dropdown from the rest of the screen. Hopefully you'll be able to find resolution, as I am at a loss.
Thanks,
Steve
0
Hi Steve,
I assume that the explained appearance might be caused because the theme library that you are using is affecting the ScrollViewer which is part of the RadListBox control template. However without a runnable project I would suggest that you style the control using Implicit Styles and apply the style locally using x:Key, so the other styles can be overridden.
Please check if this will work for you and let us know. If you still have any issues I would ask you to send us a sample project in order to help you further.
Regards,
Masha
Telerik
I assume that the explained appearance might be caused because the theme library that you are using is affecting the ScrollViewer which is part of the RadListBox control template. However without a runnable project I would suggest that you style the control using Implicit Styles and apply the style locally using x:Key, so the other styles can be overridden.
Please check if this will work for you and let us know. If you still have any issues I would ask you to send us a sample project in order to help you further.
Regards,
Masha
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>