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
AI-Enhanced UI Tools
CMS
Free Tools
Support and Learning
Productivity and Design Tools
Hi.
When we want add a message, we create an instance from ChatTextMessage class or ChatCardMessage class or ...
How can we access to these objects in RadChat1_ItemFormatting event? In fact I want too access to ChatTextMessage Object via TextMessageItemElement.
Thanks alot.
private
void
radChat1_ItemFormatting(
object
sender, ChatItemElementEventArgs e)
{
TextMessageItemElement textItemElement = e.ItemElement
as
TextMessageItemElement;
if
(textItemElement !=
null
)
ChatTextMessage msg = textItemElement.Data.Message
ChatTextMessage;
}