Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

HtmlEditorExtender and Microsoft Indic Language Input Tool

$
0
0

If I include Microsoft Indic Language Input Tool scripts into my web page, all AJAX toolkit controls like balloon popup and HTML Extendors stops working. Here, I have tried to get input in Tamil language in a text box associated with AJAX HtmlEditorExtender, it throws script parse error during lauch. I may be wrong the way i implemented it, I need to accept input in any Indian Languages in my text area with formatting.

Source code for your reference:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="Ajax1.WebForm2" %>

<%@ 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>
<head id="Head1" runat="server">
</head>
<body>
	<form id="form1" runat="server">
	<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="Server" />
	<!-- Microsoft Indic Language Input Tool embed code -->
	<input type="hidden" id="MicrosoftILITWebEmbedInfo" attachmode="optout" value="">
	<script type="text/javascript" src="http://ilit.microsoft.com/bookmarklet/script/Tamil.js"
		defer="defer"></script>
	<div>
		<asp:TextBox ID="txtComments" TextMode="MultiLine" Columns="60" Rows="8" runat="server" />
		<asp:HtmlEditorExtender ID="HtmlEditorExtender1" TargetControlID="txtComments" EnableSanitization="false"
			runat="server" />
	</div>
	<!-- Microsoft Indic Language Input Tool attribution image link -->
	<a id="MicrosoftILITWebAttribution" style="text-decoration: none" href="http://go.microsoft.com/fwlink/?LinkID=184201&clcid=0x409">
		<img style="border: 0px" alt="Transliteration by Microsoft" src="http://ilit.microsoft.com/bookmarklet/images/attribution.png"></a>
			</form>

</body>
</html>


 


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>