You can use BringIntoView()
, which accepts an object that is in the list. In the case of the RadConversationView
, the objects are of type ConversationViewMessage
. (BringIntoView is a method available on RadDataBoundListBox as well)
I have attached a sample app for you.
Run the app, and keep clicking the add button. You'll see the numbered message entries being added to the RadConversationView
and the messages will stay at the bottom.
The approach is straightforward, you shouldn't even need to open the sample app as the code is simple. Here is what I do to add a message to the collection that is bound to the RadConversationView
async Task AddMessage()
var entry = messageCounter % 2 == 0
"Outgoing: Message #"
+ messageCounter, DateTime.Now, ConversationViewMessageType.Outgoing)
"Incoming: Message #"
+ messageCounter, DateTime.Now, ConversationViewMessageType.Incoming);
//This is how to use BringIntoView. You pass in an actual object in the list.
If you are still having trouble, please show us the code you are using.
Lance | Tech Support Engineer, Sr.
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Telerik Feedback Portal
and vote to affect the priority of the items