Completed
Last Updated: 11 Sep 2024 13:08 by ADMIN
Release R3 2019
Konstantin
Created on: 28 Jan 2019 14:23
Category: Chat
Type: Feature Request
2
ADD. RadChat - add ScrollToMessage API
It would be very convenient to scroll to a specific message when a lot of messages are available.
4 comments
ADMIN
Dinko | Tech Support Engineer
Posted on: 11 Sep 2024 13:08

Hi Iata I,

I will start with that, the question is not directly related to the feedback item. I would suggest opening a forum thread and posting your question there.

As for your question, the text in the messages is wrapped by default. Longer messages will fit into the width of the control. Horizontal scrollbars are not shown by default due to this functionality. You can elaborate more on why horizontal scrollbars are required in your scenario.

Regards,
Dinko | Tech Support Engineer
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

lata
Posted on: 11 Sep 2024 09:00

Hi Team,
How we can display horizontal scrollbar to ChatMessageViewElement. Vertical scrollbar is displaying automatically. But horizontal scrollbar is not displaying. I tried below ways, but it is not working -

var chatMessagesViewElement = this.ChatElement.MessagesViewElement;
chatMessagesViewElement.HScrollBar.Visibility = ElementVisibility.Visible;
chatMessagesViewElement.Scroller.Scrollbar.StretchHorizontally = true;

 
ADMIN
Dimitar
Posted on: 27 Aug 2019 12:37

Hello,

A fix will be introduced in Telerik UI for WinForms R3 2019. 

Now the ScrollToItem method call on the Scroller is working so that the end user can scroll to a particular message.

this.radChat1.ChatElement.MessagesViewElement.Scroller.ScrollToItem(this.radChat1.ChatElement.MessagesViewElement.Items[5])



Regards,

Dimitar

Progress TelerikRadChat for Winforms

ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 28 Jan 2019 14:34
Hello, Konstantin, 

Thank you for sharing your request for scrolling to a certain message functionality. You can track its progress, subscribe for status changes and add your comments on the following link - https://feedback.telerik.com/winforms/1385066-add-radchat-add-scrolltomessage-api

I have also updated your Telerik points.

Regards,
Dess | Tech Support Engineer, Sr.
Progress TelerikRadChat for Winforms