Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Created Issue: $get() does not find input with russian letters in id [27115]

$
0
0
While upgrading AjaxControlToolkit from version 3.0.20229.0 to version 3.5.51116.0 (the latest one) AutoCompleteExtender stopped working.

Investigation gave me the following html (MicrosoftAjax.debug.js generated by ToolkitScriptManager):

<HTML>
<BODY>
<FORM>

<SCRIPT type=text/javascript src="MicrosoftAjax.debug.js"></SCRIPT>

<INPUT id="русский_id" >

<SCRIPT language=javascript>
alert($get("русский_id"));
alert(document.getElementById("русский_id"));
</SCRIPT>

</FORM>
</BODY>
</HTML>



The first alert results in null, the second one works fine.
The code with $get is generated by AutoCompleteExtender, and I cannot use english-only id (the id is generated by external component that I cannot change).


By the way, it worked fine with version 3.0.20229.0 of the toolkit.

If I get MicrosoftAjax.debug.js from http://ajax.microsoft.com/ajax/3.5/MicrosoftAjax.Debug.js (file version 3.5.30729.1) my example also works fine.

But if I use the one generated by the latest version of ToolkitScriptManager (file version 3.5.51116, attached), it works as described. I have tried in IE6, IE9 and FireFox 10 with the same result.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



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