Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

AJAX Control ToolkitµÄ°²×°

  ĬÈÏÇé¿öÏÂAJAX Control Toolkit²¢Ã»Óа²×°µ½VS2008ÖУ¬¿ª·¢ÈËÔ±ÐèÒªµ¥¶ÀÏÂÔز¢½øÐа²×°¡£ÍøÖ·ÈçÏ£ºhttp://ajaxcontroltoolkit.codeplex.com/Release/ProjectReleases.aspx?ReleaseId=27326 £¬AJAX Control ToolkitÊÇÒ»¸ö²»¶Ï¸üеÄÏîÄ¿£¬¸ÃÍøÒ³½«Ã¿¶Îʱ¼äÄÚ·¢²¼¶Ô¸Ã¹¤¾ß°üµÄ¸üС£ÔÚ¸ÃÒ³ÃæÖÐÑ¡ÔñAJAXControlToolkitSource.zip¡£ÔÚµ¯³öÐí¿ÉЭÒé´°¿ÚÖе¥»÷I AGREE£¬¸Ã´°¿ÚÊÇÒ»¸öµäÐ͵ÄAJAX Control Toolkit¿Ø¼þÓ¦Óá£ÏÂÔغó½âѹËõºó»á¿´Èý¸öÎļþ¼ÐºÍÒ»¸öÃûΪAJAX Control Toolkit.slnµÄ½â¾ö·½°¸Îļþ£¬ÔÚVS2008Öдò¿ª¸Ã½â¾ö·½°¸×ÊÔ´Îļþ»á¿´µ½½â¾ö·½°¸×ÊÔ´¹ÜÀíÆ÷ÖÐÓÐ4¸öÏîÄ¿¡£
    ¸÷¸öÏîÄ¿·Ö±ðÈçÏÂËùʾ¡£
    1¡¢AJAXControlToolkit£º°üº¬Control ToolkitÖÐËùÓпؼþµÄÔ´´úÂë¡£
     2¡¢SampleWebSite:°üº¬µÚ¸ö¿Ø¼þµÄʹÓ÷½·¨µÄʾÀýÍøÕ¾£¬¸Ã¾ÈÃüÍøÕ¾¶ÔÓÚѧϰAJAX Control ToolkitÖеĿؼþ·Ç³£ÓаïÖú¡£
     3¡¢ToolkitTests:°üº¬ËùÓпؼþµÄ×Ô¶¯»¯²âÊÔ´úÂë¡£
    ΪÁËÄÜÔÚVS2008ÖÐʹÓÃAJAX Control Toolkit¿Ø¼þ£¬ÐèÒª½«ÆäÌí¼Óµ½VS2008µÄ¹¤¾ßÏäÖС£½øÈ빤¾ßÏäµÄAJAX ExtensionsÀ¸ÓÒ»÷Êó±ê£¬Ñ¡Ôñ“Ñ¡ÔñÏI)……”²Ëµ¥£¬½«³öÈçÏÂͼ£º
Ôڸô°¿ÚÖе¥»÷“ä¯ÀÀ”°´Å¥£¬ÔÚµ¯³öµÄÑ¡ÔñÎļþ´°¿ÚÖÐÑ¡ÔñSampleWebSiteϵÄBinÎļþ¼ÐϵÄAJAX Control Toolkit.dllÎļþ¡£
     µ¥»÷È·¶¨°´Å¥AJAX Control Toolkit±ãÌí¼Óµ½ÁËAJAX Extensions¹¤¾ßÀ¸ÏÂÃ棬ÈçÏÂͼ£º
×¢£ºAJAX Control Toolkit¿Ø¼þÿ´Î´ò¿ªVS2008ºó¶¼µÃÖØÐÂÌí¼Ó¡£


Ïà¹ØÎĵµ£º

¹ØÓÚjquery1.3.1£¬IE7,IE8ÖÐÎÞ·¨Ê¹ÓÃajaxµÄÌÖÂÛ£¿

´ó¼ÒºÃ£¬×î½üʹÓÃjqueryµÄajax¹¦ÄÜ£¬µ«ÊÇ·¢ÏÖ$.ajax()·½·¨²»ÄÜÌá½»µ½ºǫ́£¬ÎÒÊÇÓõÄÊÇIE7£¬
ÆäËû·½·¨ÈçgetºÍpostûÓÐÊÔ¹ý£¬µ«ÓÉapiËùÖªµ×²ã¶¼ÊÇÓÃajax·½·¨À´ÊµÏֵġ£
ͨ¹ý²é¿´Ô´Âë·¢ÏÖ
// Create the request object; Microsoft failed to properly
// implement the XMLHttpRequest in IE7, so we use the ActiveXObje ......

vs2005 ʹÓÃajax.dll ʵÏÖAjaxÓ¦ÓÃ

1\ÒýÓÃajax.dll»òÕßajaxpro.dllµ½vs2005¹¤³ÌÖÐ
   ÔÚweb.configÎļþÖеģ¼system.web£¾¼ÓÈëajaxÉèÖÃ
      £¼httpHandlers£¾
¡¡£¼add verb="POST,GET" path="ajaxpro/*.ashx" type="AjaxPro.AjaxHandlerFactory,AjaxPro.2"/£¾
£¼/httpHandlers£¾
2\±àдajax´úÂë
  &nb ......

¶ÔAjaxµÄһЩ»ù±¾Àí½â

Ò»¡¢ajaxµÄÈëÃÅ
  1¡¢XMLHttpRequest¶ÔÏóµÄʹÓã¨Ê¹ÓÃXMLHttpRequest½âÎöxmlÎļþ£©
 onreadystatechange
Ö¸¶¨µ±readyStateÊôÐԸıäʱµÄʼþ´¦Àí¾ä±ú
 open()
´´½¨Ò»¸öеÄhttpÇëÇ󣬲¢Ö¸¶¨´ËÇëÇóµÄ·½·¨¡¢URLµÈÐÅÏ¢
 send()
·¢ËÍÇëÇóµ½http·þÎñÆ÷²¢½ÓÊÕ»ØÓ¦
& ......

ÈçºÎ¿ª·¢°²È«µÄAJAXÓ¦ÓÃ

ÈçºÎ¿ª·¢°²È«µÄAJAXÓ¦ÓÃ
AJAX¼¼ÊõÒѾ­ÊÇÏÖÔÚ×îÁ÷ÐеÄWebÓ¦Óÿª·¢¼¼ÊõÁË£¬µ«ÊÇÓë´Ëͬʱ£¬WebÓ¦ÓÃÒ²³ÉÁËÕâ¸öIT¼Ü¹¹Öа²È«×Èõ£¬×îÈÝÒ×Êܵ½¹¥»÷µÄ²¿·Ö£¬AJAXÓ¦ÓÃÏà±È½ÏÓ봫ͳµÄWebÓ¦Ó㬴ó´óÔö¼ÓÁË¿Í»§¶ËÓë·þÎñÆ÷Ö®¼äµÄ½»»¥£¬Í¬Ê±Ò²Ê¹µÃһЩºǫ́µÄÒµÎñÂß¼­½Ó¿Ú±©Â¶¸øÁË¿Í»§¶Ë£¬Èç¹û·þÎñÆ÷¶ËûÓÐ×ã¹»µÄ±£»¤»òÕßûÓжԿͻ§¶ËÇ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ