Hi,
If you want to use AJAX Toolkit for SharePoint 2010 and 2013, here is a solution for your reference:
http://sharepointajax.codeplex.com/releases/view/93640
If the question not relate SharePoint, I suggest you post it to a suitable Forum, you will get more help and confirmed answers from there.
http://forums.asp.net/
Best Regards
Dennis Guo
TechNet Community Support
