Asked by:
Hindi Unicode Typing asp Textbox

Question
-
User-156408667 posted
hi friends,
Can any one suggest Script
how to type Hindi unicode in asp.net using asp textbox with javascript in normal keyboard
thanks
priyanka
Wednesday, July 24, 2013 7:23 AM
All replies
-
User1470285101 posted
Priyanka R
Can any one suggest Script
how to type Hindi unicode in asp.net using asp textbox with javascript in normal keyboard
see this article,
http://manish4dotnet.blogspot.in/2013/05/aspnet-create-hindi-textbox-using.html
http://www.dotnetvishal.com/2013/04/hindi-textbox-multilingual-infact-using.html
Wednesday, July 24, 2013 7:27 AM -
User-691245060 posted
use google input tools -
http://www.google.co.in/inputtools/cloud/try/
thanks,
Wednesday, July 24, 2013 11:13 AM -
User1143442848 posted
Hi,
As @mohankrishna suggested, Google Transliteration is a better choice to create Hindi TextBox.
Here is a simple example for you to refer to. And the example works fine in my lab machine.
Code in .aspx
<!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 id="Head1" runat="server"> <title></title> <script src="https://www.google.com/jsapi" type="text/javascript"> </script> <script type="text/javascript" language="javascript"> google.load("elements", "1", { packages: "transliteration" }); function onLoad() { var options = { sourceLanguage: google.elements.transliteration.LanguageCode.ENGLISH, destinationLanguage: [google.elements.transliteration.LanguageCode.HINDI], shortcutKey: 'ctrl+g', transliterationEnabled: true }; var control = new google.elements.transliteration.TransliterationControl(options); control.makeTransliteratable(['TextBox1']); //TEXT1 is the id of the control which you will use for the transliteration. } google.setOnLoadCallback(onLoad); </script> </head> <body > <form id="form2" runat="server"> <div> <div class="Google-transliterate-Way2blogging"> <asp:TextBox ID="TextBox1" TextMode="MultiLine" Width="600" Height="200" runat="server"></asp:TextBox> </div> </div> </form> </body> </html>
If you have any questions, please feel free to let me know.
Best Regards.
Lisa Zhang
Friday, July 26, 2013 1:44 AM -
User-156408667 posted
hi friends,
I need to type Directly in Hindi unicode not from English to hindi...
if anyone provide any Example It would be appreciatable...
Thanks,
Priyanka.
Monday, July 29, 2013 7:54 AM -
User1143442848 posted
Priyanka R
hi friends,
I need to type Directly in Hindi unicode not from English to hindi...
Hi,
Here is an example to type directly in Hindi Unicode using TextBox and it works fine.
Please try to the bellow code:
<html> <head> <title>Hindi Input Test</title> <script src="http://www.hinkhoj.com/common/js/keyboard.js"></script> <link rel="stylesheet" type="text/css" href="http://www.hinkhoj.com/common/css/keyboard.css" /> </head> <body> Text Box1:<br> <script type="text/javascript"> CreateHindiTextBox("id 1"); </script> </body> </html>
If you have any questions, please feel free to let me know.
Best Regards.
Lisa Zhang
Monday, July 29, 2013 10:11 PM -
User-2001332922 posted
replicated the html and then browsed work in appreciation of lisa zhang - msft.
Monday, July 29, 2013 11:30 PM -
User-1635195291 posted
Hi Priyanka R,
You can try using the following Agochar Keypad it is a kind of keyboard that will be shown to user when he comes to the particular textbox and then he can type in hindi.
Some other sources:
Hope this helps.
Thanks,
Jatin
Tuesday, July 30, 2013 12:02 AM -
User-235464134 posted
if you want to convert English words to Unicode then Use Google Translator API
if your end-user of application is aware of the typing style in Hindi just like Kurti Dev or Devlys then
Step - 1 Choose your Font like Devlys Hindi Font
Step - 2 Convert into Web font
Step - 3 use @font-face CSS
Step - 4 Apply Java Script Code
Monday, January 27, 2020 5:21 PM