Hindi TextBox using Google Transliterate API in ASP.NET

You may also like...

12 Responses

  1. Emmett says:

    Hey i am for the first time here. I found this board and I find It truly useful & it helped me out a
    lot. I hope to offer something again and help others such as you aided me.

  2. Raphael says:

    Pretty! This has been a really wonderful article.

    Thank you for providing this information.

  3. abhijit says:

    hey this is a very good artical ,but can you tell me how to write the same code for master page .please help me arjant

    • Admin says:

      If you are working with asp.net controls then you need to pass control id like “ContentPlaceHolderID_ControlID” instead of “transliterateTextarea” in script.

  4. divya says:

    this Script Not Working In My UserControl

    • Admin says:

      Hello Divya,

      If you are working with asp.net User control then you need to pass user control id and textbox Id like “UsercontrolId1_textboxId” instead of “transliterateTextarea” in script.

      Then as well the script will not work then run the page -> right click -> view source code of the page and get the id of the textbox and the copy and replace the given location.


  5. divya says:

    usercontrol used in masterpage when select /unselect gridview items then automatically languages dropdown not bind i.e,empty and script not working

  6. pradeep says:

    Translate from English to Hindi is fine.
    I am getting problem while translate English text box value to Hindi text box.
    Suppose first text box contain XYZ how i get xyz in Hindi on another text box.

    • Admin says:

      Hi Pradeep,
      Please download the demo project from bottom of the article and try to compare it with your code. Hope you will get the solution.
      Let us know if you have any query.

  7. Vishal Jani says:

    Thanks for providing information. I would like to know, if we have mix languages like Hindi and English then how it will work

  8. Vyankatesh Mujumdar says:

    Hi thanks for this helpful post
    I am slow implementing the same in my project.
    But I have one more extra requirement –
    While typing I want to convert it into Hindi and display in English in another textbox.
    Can you please help me how can I do this?
    I tried the following code
    $(‘#txtEngtoHindi’).keypress(function () {
    var stt = String.fromCharCode(event.which);
    var fstt = $(‘#txtInEnglish’).val() + stt;
    and its working but if I tried to delete any word from the txtEngToHindi textbox , its not reflecting in txtInEnglish text box.
    Is there any solution you have for above scenario?

Leave a Reply

Your email address will not be published. Required fields are marked *

× 2 = six

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">