This is a migrated thread and some comments may be shown as answers.

Get the typing text in RadConversationView

5 Answers 59 Views
ConversationView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Patrice
Top achievements
Rank 1
Patrice asked on 14 Jan 2015, 08:19 AM
Hello

I would like to know.  How can I get the text that I typed in the RadConversationView? Cause in my project I have to get the message that type and send it via a  Http Post request in my Web Api.

Thanks 

5 Answers, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 16 Jan 2015, 04:15 PM
Hello Patrice,

Please have a look at the Text property which gets and sets the text of the textbox inside the conversation view. Further, RadConversationView exposes a SendingMessage event which is fired when the user presses the send button of the conversation view. It exposes the message through its event arguments. I would recommend examining the RadConversationView properties list as well as this tutorial.


Regards,
Dimitrina
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Patrice
Top achievements
Rank 1
answered on 16 Jan 2015, 11:39 PM
Thank you so much :) it was very helpful. I have some last questions (maybe a little bit stupid =_=').
1. How can you remove the hiding mode cause each time when I click on the bubble chat it hide automatically the text inside.

2. How to set the text that we type as a Incoming type cause each time i type it will display as a Outgoing type.

3. Is it possible to make something like Facebook chat or hangout, I mean to put the name who send the message above the chat box (Facebook) or next to the time (Hangout)

it will be very helpfull if you can help me me.
Have a nice day.
Regards
0
Ivaylo Gergov
Telerik team
answered on 21 Jan 2015, 04:32 PM
Hi Patrice,

As shown in the example : http://www.telerik.com/help/windows-phone/radconversationview-gettingstarted.html you can mark the messages as incoming or outgoing. Also, here is an example which shows how to group the messages and show the sender. : http://www.telerik.com/help/windows-phone/radconversationview-features-groupingmessages.html.

Regarding the first question, could you please elaborate more or send me a sample project because I am not sure that I fully understand the scenario.

Regards,
Ivaylo Gergov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Patrice
Top achievements
Rank 1
answered on 02 Feb 2015, 09:19 PM
Hi 

Sorry to bother you again but I did something like thisConversationViewMessage msg = new ConversationViewMessage(ConversationView.Text , DateTime.Now, ConversationViewMessageType.Incoming ); 
messages.Add(msg);
but the text that I type is still in the outgoing side. And it displays twice my texts. What's happened I don't know 
0
Ivaylo Gergov
Telerik team
answered on 05 Feb 2015, 10:26 AM
Hello Patrice,

I have attached a sample app to demonstrate the scenario and it works as expected. Could you please try to modify it in order to reproduce the problem?

Regards,
Ivaylo Gergov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
ConversationView
Asked by
Patrice
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Patrice
Top achievements
Rank 1
Ivaylo Gergov
Telerik team
Share this question
or