Completed
Last Updated: 21 Jan 2020 13:13 by ADMIN
Release R1 2020 SP1 (LIB 2020_1_127)
Danny
Created on: 21 Nov 2019 06:20
Category: Chat
Type: Feature Request
1
RadChat: Add "TODAY" and "YESTERDAY" for the time separator to the ChatLocalizationProvider

Workaround:

        private void radChat1_ItemFormatting(object sender, ChatItemElementEventArgs e)
        {
            ChatTimeSeparatorItemElement separatorElement = e.ItemElement as ChatTimeSeparatorItemElement;
            if (separatorElement != null)
            {
                if (separatorElement.Text == "TODAY")
                {
                    separatorElement.Text = "TODAY_EN";
                }
                else if (separatorElement.Text == "YESTERDAY")
                {
                    separatorElement.Text = "YESTERDAY_EN";
                }
            }
        }

1 comment
ADMIN
Dimitar
Posted on: 21 Jan 2020 13:13

Hi,

In Telerik UI for WinForms R1 2020 SP1 and LIB 2020_1_127 (scheduled for  27 of January) the following ChatStringIds will be added to the ChatLocalizationProvider:

- ChatStringId.TodayStamp
- ChatStringId.YesterdayStamp


Regards,
Dimitar
Progress Telerik

RadChat for Winforms