How to make Special/ Smart textbox in asp.net c# using Java Script

In this article , I will show that how to make smart textbox using tinymce. It will like the html editor , html editor and tinymce both are different control , here we describe create the smart textbox using tinymce.


Design:-





Source Code:-
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="HTMLED.aspx.cs" Inherits="HTMLED" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" />
    </div>
      <script src="//tinymce.cachefly.net/4.0/tinymce.min.js"></script>
    <script type="text/javascript">
        tinymce.init({ selector: 'textarea' });
    </script>
    </form>
</body>
</html>





How to make Special/ Smart textbox in asp.net c# using Java Script How to make Special/ Smart textbox in asp.net c# using Java Script Reviewed by NEERAJ SRIVASTAVA on 4:43:00 PM Rating: 5

No comments:

Powered by Blogger.