Completed
Last Updated: 07 Feb 2020 06:47 by ADMIN
Release LIB 2020.1.210 (2/10/2020)
Martin Ivanov
Created on: 24 Jan 2020 15:09
Category: Chat
Type: Bug Report
1
Chat: CurrentAuthor messages use wrong background color when populated with the DataSource property

If you populate the RadChat control using its DataSource and then bind the CurrentAuthor property, the message from the current author don't use the correct color. This reproduces only if the CurrentAuthor binding is set after the DataSource binding.

Note that the title says that this happens when using the DataSource, but you can reproduce it also if simply add a message from an author different than the current one, and then change the CurrentAuthor to the one used for the message.

To resolve this change the order of the property bindings. The first one should be CurrentAuthor and then DataSource.
<telerik:RadChat CurrentAuthor="{Binding MyCurrentAuthor}" DataSource="{Binding MyMessageSource}" />


0 comments