title: Possible solution to UpdatePanel and ClientIDMode="Static"
body: <p>I've been looking everywhere for a solution to the static ClientIDMode + UpdatePanel in Asp.NET, as seen in <a href="http://connect.microsoft.com/VisualStudio/feedback/details/584991/clientidmode-static-in-updatepanel-fails-to-do-async-postback" rel="noreferrer">http://connect.microsoft.com/VisualStudio/feedback/details/584991/clientidmode-static-in-updatepanel-fails-to-do-async-postback</a></p>
  
  <p>The problem is in the Sys.WebForms.PageRequestManager.<em>uniqueIDToClientID function, that converts names to id by replacing "$" characters to "</em>".
  I made a fix that seems to work but I want you guys to tell me what you think and if I'm missing something. Thanks a lot!</p>
  
  <pre><code>var old_uniqueIDToClientID = Sys.WebForms.PageRequestManager.prototype._uniqueIDToClientID;
  Sys.WebForms.PageRequestManager.prototype._uniqueIDToClientID = function (arg) {
      var element = this._form.elements[arg];
      return (element) ? element.id : old_uniqueIDToClientID(arg)
  }
  </code></pre>