Hi Friends,in this article i will explain about How to turn a Textbox into a rich HTML editor using AjaxControlTookit.
I already explained in the previous articles about AjaxControlToolkit,Marquee tag or How to Scroll Text From left to right or How to Move the Text in HTML,C#/VB.NET:Save the generated pdf directly to the server directory folder without user prompt in ASP.NET and How to open PDF File in Adobe Reader, not in Browser in ASP.NET using C#/VB.NET.
In ASP.NET:
In ASP.NET:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="RichTextBox.aspx.cs"Inherits="RichTextBox" %>
<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit"Assembly="AjaxControlToolkit"%>
<!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:ToolkitScriptManager runat="Server" />
<asp:TextBox
ID="txtMailBody"
TextMode="MultiLine"
Columns="40"
Rows="10"
runat="server" />
<asp:HtmlEditorExtender
TargetControlID="txtMailBody"
runat="server" />
</div>
</form>
</body>
</html>
|
"If you like my blog or articles, you can appreciate by leaving your comments or Liking my Facebook pageAspdotnet-kishore, following on Google+ Aspdotnet-Kishore, Twitter on AspdotnetKishore, Linked in Aspdotnet-Kishore, stumbling my posts on stumble upon and subscribing on RSSfeed Aspdotnet-Kishore for free updates directly to your Email inbox . Watch my blog for more articles."
No comments:
Post a Comment