Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>when you use UpdatePanel you need to re-initialize the script after post backs as:</p> <pre><code>// maybe this also need to be inside the EndRequest again google.load("elements", "1", { packages: "transliteration" }); function onLoad() { var options = { sourceLanguage: google.elements.transliteration.LanguageCode.ENGLISH, destinationLanguage: google.elements.transliteration.LanguageCode.GUJARATI, shortcutKey: 'ctrl+g', transliterationEnabled: true }; var control = new google.elements.transliteration.TransliterationControl(options); control.makeTransliteratable(['&lt;%=TextBox1.ClientID%&gt;']); } // here you make the first init when page load google.setOnLoadCallback(onLoad); // here we make the handlers for after the UpdatePanel update      var prm = Sys.WebForms.PageRequestManager.getInstance();          prm.add_initializeRequest(InitializeRequest);      prm.add_endRequest(EndRequest);          function InitializeRequest(sender, args) {           }      // this is called to re-init the google after update panel updates.     function EndRequest(sender, args) {     onLoad();     } </code></pre> <p>Similar issues:<br> <a href="https://stackoverflow.com/questions/13044180/jquery-script-works-when-page-is-reload/13044264#13044264">jquery script works when page is reload</a><br> <a href="https://stackoverflow.com/questions/3341623/asp-net-updatepanel-in-gridview-jquery-datepicker/3341741#3341741">Asp.Net UpdatePanel in Gridview Jquery DatePicker</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload