In this article I will explain with an example, how to display Emoji Emotion Icons in ASP.Net TextBox using the TinyMCE Editor.
By default ASP.Net TextBox does not support Emoji Emotion Icons and hence the TinyMCE Editor plugin needs to be applied to ASP.Net TextBox.
Display Emoji Emotion Icons in ASP.Net TextBox using the TinyMCE Editor
The following HTML Markup consists of an ASP.Net TextBox for which the TextMode property is set to MultiLine.
The TextBox has been assigned the TinyMCE Editor plugin with Emoji Emotion Icons.
<script type="text/javascript" src="//tinymce.cachefly.net/4.0/tinymce.min.js"></script>
<script type="text/javascript">
tinymce.init({
selector: 'textarea',
plugins: "emoticons",
toolbar: "emoticons",
width: 500
});
</script>
<asp:TextBox ID = "txtRichTextBox" runat="server" TextMode = "MultiLine" />
Screenshot
Demo
Downloads