Product Bundles
DevCraft
All Telerik .NET and Kendo UI JavaScript components and AI Tools in one package.
Kendo UI
Bundle of AI Tools plus four JavaScript UI libraries built natively for jQuery, Angular, React and Vue.
Build JavaScript UI
Javascript
Telerik
Build modern .NET business apps
.Net Web
Cross-Platform
Desktop
Reporting and Documents
AI for Developers & IT
Ensure AI program success
AI Coding
AI Engineering
Additional Tools
Enhance the developer and designer experience
Testing & Mocking
Debugging
UI/UX Tools
CMS
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.