VS2005ÖÐajax°²×°Ö¸ÄÏ
VS2005ÖÐajax°²×°Ö¸ÄÏ
ÒÔÏÂÊÇÊÕ¼¯¹ØÓÚAjaxControlToolkit°²×°µÄһƪÎÄÕ£¬¸ÐлÔ×÷Õß
AjaxControlToolkitÏÂÔØhttp://ajax.asp.net/downloads/default.aspx?tabid=47
http://www.codeplex.com/AtlasControlToolkit/Release/ProjectReleases.aspx?ReleaseId=1425
»·¾³ÉèÖÃÈçÏ£º
ÏÂÔØÍê
ASPAJAXExtSetup.msi °²×°¸üкóÔÚÄãµÄϵͳÅÌϵģ¨ÒÔCÅÌΪÀý£© ³öÏÖÕâ¸ö Îļþ¼Ð£º
C:\Program
Files\Microsoft asp.NET\ASP.NET 2.0 ajax
Extensions\v1.0.61025
°²×°Õâ¸öºóÎÒÃǾͿÉÒÔ´´½¨Asp.net
AJAXEnabledWebSiteÕ¾µãÁË£¬ÕâÆäʵ¾ÍÊǸöajax.netÍøÕ¾µÄÄ£°å¡£
µ«ÊÇÎÒÃÇÏÖÔÚ»¹²»ÄÜʹÓÃ΢Èí¸øÎÒÃÇ¿ª·¢ºÃµÄajax¿Ø¼þ
¡£ÒªÏëÖªµÀÔõôʹÓÃajax.net¿Ø¼þÍùÏ¿´¡£
ÏÂÔØAjaxControlToolkit £¬ÉÏÃæÁ½¸öÒ»¸öÊÇ´øÔ´´úÂëµÄ
Ò»¸öÊDz»´øÔ´´úÂëµÄtoolkit¡£½¨ÒéÏÂÔØ´øÔ´´úÂëµÄ toolkit¡£ÏÂÔØÍê³Éºó°Ñ¸ÃÎļþ½âѹµ½£º
C:\Program
Files\Microsoft asp.NET\ASP.NET 2.0 ajax
Extensions\v1.0.61025\AjaxContronlToolkit\
Ë«»÷ÔËÐÐAjaxControlToolkit.sln¡£
ÓÃvs2005
´ò¿ªÕâ¸ösln£¬±àÒëTemplateVSIÕâ¸öÏîÄ¿ºó£¬°ÑÔÚC:\Program Files\Microsoft asp.NET\ASP.NET 2.0 AJAX
Extensions\SampleWebSite\BinÏÂÃæÉú³ÉµÄAjaxControlToolkit.dllºÍ
AjaxControlToolkit.pdb¸´ÖƵ½
C:\Program Files\Microsoft asp.NET\ASP.NET 2.0
AJAX Extensions\BinariesÎļþ¼ÐÏÂÃ棬ÕâÑùÎÒÃǾͿÉÒÔÔÚvs2005ÖÐʹÓÃajax.netÕâЩ¿Ø¼þÁË¡£
н¨Ò»¸öAjax
ControlToolkitWebSite
ÀàÐ͵ÄwebÏîÄ¿¡£ÔÚ¹¤¾ßÀ¸ÖÐÐÂÌí¼ÓÒ»¸öÑ¡ÏÆðÃû£ºAjaxControltoolkit
ÔÚÕâ¸öÑ¡ÏÉÏÓÒ¼üÑ¡ÔñÏî->ä¯ÀÀÕÒµ½¸Õ²Å¸´ÖƹýÈ¥µÄAjaxControlToolkit.dll£¬Ìí¼Ó½øÀ´¡£ÕâÑùÎÒÃǾÍajax.net¿Ø¼þ³É¹¦ÒýÓõ½vs2005ÖÐÁË
¡£
Ïà¹ØÎĵµ£º
ÔںܶàϵͳÖУ¬ÐèÒªÓû§Ìîд¸öÈË×ÊÁÏ£¬ÆäÖаüº¬µØÇø¡¢³ÇÊС¢ÓÊÕþ±àÂëµÈÐÅÏ¢¡£¶øÓÊÕþ±àÂë±¾Éí°üº¬Á˵ØÇøºÍ³ÇÊÐÐÅÏ¢£¬ËùÒÔ¿ÉÒÔÀûÓô˹æÔò¼ò»¯²Ù×÷¡£Óû§Ö»ÐèÒªÊäÈëÓÊÕþ±àÂ룬ϵͳ¸ù¾ÝÓÊÕþ±àÂë×Ô¶¯È¡µÃµØÇøÐÅÏ¢¡£ÕâÑù×öʹµÃÓû§¿ÉÒÔ»ñµÃ¸üºÃµÄʹÓÃÌåÑ飬Ҳ¿ÉÒÔ¼õÉÙ´íÎóµÄ·¢Éú¡£
ҪʵÏÖ×Ô¶¯»ñÈ¡µØÇøÐÅÏ¢£¬Ö÷Òª¿¼ÂÇ3¸öÎÊÌ ......
Êý¾Ý¿âÉè¼Æ
±¾ÊµÀýʹÓÃÃûΪpostalcodeµÄÊý¾Ý¿â±í£¬°üº¬µÄ²¿·ÖÊý¾ÝÈçͼ1.4Ëùʾ¡£¾ßÌåµÄ´´½¨Êý¾Ý±íÓï¾äÈçÏ£º
CREATE TABLE 'postalcode' (
'id' int(11) NOT NULL auto_increment,
'area' varchar(255) NOT NULL,
'city' varchar(255) NOT NULL,
'code' varchar(6) NOT NULL,
&n ......
Óû§²Ù×÷½çÃæpostalcode.html
Ò³ÃæÖаüº¬3¸öÎı¾¿ò£¬·Ö±ð±íʾÓÊÕþ±àÂë¡¢µØÇøºÍ³ÇÊÐÐÅÏ¢¡£µ±Óû§ÊäÈëÓÊÕþ±àÂëºó£¬ÏµÍ³½«×Ô¶¯´Ó·þÎñÆ÷¶ÁÈ¡µØÇøºÍ³ÇÊÐÐÅÏ¢£¬Ìî³äµ½¶ÔÓ¦Îı¾¿òÖС£ÏêϸµÄº¯Êý˵Ã÷Çë²Î¿¼´úÂëÖеÄ×¢ÊÍ¡£
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<head>
<tit ......
Ê÷ÐÎÁÐ±í£¨²Ëµ¥£©ÔÚWebÓ¦ÓÃÖÐÊ®·Ö³£¼û£¬Í¨³£Ó¦ÓÃÓÚĿ¼ʽ½á¹¹£¬ÀýÈç²úÆ··ÖÀà¡¢²¿ÃÅ»ú¹¹µÈ¡£´«Í³µÄÊ÷Ðβ˵¥Ö÷ÒªÓÐÁ½ÖÖ¼ÓÔØ·½Ê½£ºÒ»ÖÖÊÇÒ»´ÎÐÔ¼ÓÔØÈ«²¿Êý¾Ý£¬ÁíÒ»ÖÖÊǸù¾ÝÓû§²Ù×÷Öð²½¼ÓÔØÊý¾Ý£¬µ«ÊÇÐèҪˢÐÂÒ³Ã档ǰÕß¼ÓÔØËٶȽÏÂý£¬²¢ÇÒ´æÔÚ´óÁ¿Êý¾ÝûÓб»Ê¹ÓõÄÀË·ÑÇéÐΡ£ºóÕß¿ÉÒÔÖð²½¼ÓÔØ£¬µ«ÊÇƵ·±µØË¢ÐÂÒ³ÃæÔÚ¸øÓû§´øÀ ......
BODY { FONT-FAMILY:Tahoma; FONT-SIZE:10pt }
P { FONT-FAMILY:Tahoma; FONT-SIZE:10pt }
DIV { FONT-FAMILY:Tahoma; FONT-SIZE:10pt }
TD { FONT-FAMILY:Tahoma; FONT-SIZE:10pt }
AJAX ¿â API ÊÇÒ»ÖÖÄÚÈÝ·Ö²¼ÍøÂ磬¿ÉÔØÈë×îÊÜ»¶ÓµÄ¿ªÔ´ JavaScript ¿âµÄ¼Ü¹¹¡£Í¨¹ýʹÓà Google AJAX API ÔØÈë³ÌÐòµÄ
google.l ......