Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Productivity and Design Tools
Hello,
I would like to remove all messages of radchat after inactivity.
I don't find how to remove all messages. Could you help me ?
Thanks
Thomas
Hello Thomas,
To achieve this requirement, the collection that is bound to the DataSource property of the RadChat control could be cleared using the Clear method.
<telerik:RadChat CurrentAuthor="{Binding CurrentAuthor}" DataSource="{Binding MyMessages}"> <telerik:RadChat.MessageConverter> <local:MessageConverter /> </telerik:RadChat.MessageConverter> </telerik:RadChat>
this.Messages.Clear();
With this being said, I have attached a sample project for you to test.
Regards, Stenly 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.