RadAutoCompleteBox not displaying property

4 posts, 0 answers
  1. Nadeem
    Nadeem avatar
    2 posts
    Member since:
    Oct 2013

    Posted 03 Oct 2013 Link to this post

    Hi,

    I am actually using a RadAutoCompleteBox, which is linked to an ObservableCollection of contacts (from entity).
    But on run, when a contact  is selected, the property (DisplayMemberPath) does not display.

    Here's my xaml code;

    <telerik:RadAutoCompleteBox x:Name="lstReceiver"  <br> 
                               Margin="0" Grid.Column="1"  Height="25"<
    br
                               ItemsSource="{Binding RecipientList, Mode=TwoWay}"<
    br>
                               DisplayMemberPath="EmailAddress" SelectionMode="Multiple"<
    br
                               SelectedItem="{Binding SelectedRecipient, Mode=TwoWay}"<
    br>
                               TextSearchMode="StartsWith"<
    br
                               SearchText="{Binding ContactSearchKeyWords, Mode=TwoWay, BindsDirectlyToSource=True}"<
    br
                               TextSearchPath="EmailAddress">

    And here's what is being displayed in Run Mode (View attached image).
    Am I missing something here?

  2. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 04 Oct 2013 Link to this post

    Hello,

    We are not aware of such issues in the latest version of RadAutoCompleteBox control.

    I created and attached a sample project for you which shows that no unexpected behavior is observed in the described scenario. You should note that when using the control in Multiple SelectionMode, binding the SelectedItem property leads to only the first selected item to be set to the bound field. Please take a look at the attached sample project and let me know if I have missed something.

    Regards,
    Vladi
    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Nadeem
    Nadeem avatar
    2 posts
    Member since:
    Oct 2013

    Posted 07 Oct 2013 Link to this post

    Hi,

    Thanks for your reply.
    With the same solution you sent, just put them all in a RadTabItem, and you'll see the visual effect.

    Regards,
    Nadeem
  5. Vladi
    Admin
    Vladi avatar
    744 posts

    Posted 08 Oct 2013 Link to this post

    Hi,

    Thank you for pointing this out.

    We managed to observe the issue and indeed when the RadAutoCompleteBox control is placed inside a RadTabItem the text inside the BoxItem is not visible. We also noticed that this issue is only present when setting the theme to Windows8Theme. Setting the StyleManager.ApplicationTheme to any other theme works as expected.

    This is a known issue with the Foreground of the RadTabControl in the Windows8Theme and we hope to have it fixed as soon as possible. We apologize for any inconvenience that this may be causing.

    Regards,
    Vladi
    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 >>
Back to Top