Approved
Last Updated: 27 Jan 2020 13:54 by ADMIN

This bug is related to the text shown on top of the message groups. The text shows the time + the author's name. For example: "12:30PM,John Doe". 

Add a space between the time and the author's name. It should be "12:30PM, John Doe", instead of "12:30PM,John Doe".

To work this around, add a space before the author's name when you create the Author instance.

this.Chat.AddMessage(new TextMessage(new Author(" John Doe"), "Hi", DateTime.Now.AddDays(-3)));

Or extract the ControlTemplate of MessageGroup and add a Margin to the TextBlock element that shows the Author's name.

 

Approved
Last Updated: 24 Jan 2020 15:10 by ADMIN

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}" />


Approved
Last Updated: 24 Jan 2020 13:51 by ADMIN

Regardless of the current culture applied, the date shown on top of a group of message uses InvariantCulture (English). In comparison the time break date is formatted according to the culture.

This comes from a bug in WPF. https://stackoverflow.com/questions/520115/stringformat-localization-issues-in-wpf/520334#520334

To work this around, override the Language property metadata of FrameworkElement.

FrameworkElement.LanguageProperty.OverrideMetadata(
      typeof(FrameworkElement),
      new FrameworkPropertyMetadata(
          XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.IetfLanguageTag)));

Completed
Last Updated: 06 Dec 2018 11:21 by ADMIN
As I change the items of the RadObservableCollection the Chat Control crashes. Please press a button in the attached example.

Scheduled for:
The fix for this issue will be available with LIB (version 2018.3.1210) scheduled for publishing on Monday, 10th December 2018.
Completed
Last Updated: 29 Jan 2019 08:27 by ADMIN

Dear Team,

I am facing issue with Chat Control. When I tried to change datasource of control, Messages in Chat UI does not reflect.

I have List of User in listbox. Each User has Observable collection of TextMessages. When User selection changed, I bind datasource to selected user messages. I assume that Chat control will update its UI by selected User messaged. But it is not working.

I tried to clear MessageListItems on selection change, and re-bind data source to selected user's messages. In this case Chat UI does not show any messages.

 

For reference I have uploaded my sample project on Google drive.



*** The fix for this issue will be available with the next LIB (version 2018.3.1210) expected on Monday, December 10.