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

¶þ¡¢Ð¡ÊÔÉíÊÖ——µÚÒ»¸öAjax³ÌÐò

Ò»¡¢          н¨Ò»¸öAjax_StartµÄÍøÕ¾
 
¶þ¡¢          ÔÚÍøÕ¾ÖÐÌí¼ÓÒ»¸öweb·þÎñ£¨ws_start.asmx£©
ÔÚvs2008ÖУ¬Ìí¼ÓÒ»¸öweb·þÎñÉú³ÉÁËÁ½¸öÎļþ£¬Ò»¸öÊÇasmxÎļþ£¬Ò»¸öÊÇÔÚApp_codeÀïµÄcsÎļþ£»ÎÒ¾õµÃÕâÑù²¢²»ºÃ£¬Ö÷ÒªÊDz»·½±ã¹ÜÀí£¬ÖÁÉÙÏÖÔÚÔÚÎÒ¿´À´ÊÇÕâÑù£¬ËùÒÔÏÂÃæÎÒÃÇÒªÀ´¸ÄÔìÒ»ÏÂËü
 
Èý¡¢          ¸ÄÔìvs2008ÖÐÉú³ÉµÄweb·þÎñ
1)       Ê×ÏȽ«App_codeÀïws_start.csÖеĴúÂëÈ«²¿copy³öÀ´£¬È»ºó·ÅÈëµ½ws_start.asmxÎļþÖÐÈ¥
2)       ɾ³ýApp_codeÀïµÄws_start.csÎļþ
3)       ½«ws_start.asmxÖеÄ×îÉÏÃæµÄWebServiceÀïµÄCodeBehindÊôÐÔɾ³ý£¬ÒòΪÎÒÃÇÒѾ­ÔÚÇ°Ò»²½É¾³ýÁËCodeBehindÀï¹ØÁªµÄÎļþ
4)       ÒòΪvs2008Éú³ÉµÄweb·þÎñµÄcsÎļþûÓÐÃüÃû¿Õ¼ä£¬ËùÒÔ±ØÐëΪËü¼ÓÉÏÒ»¸öÃüÃû¿Õ¼ä£ºnamespace Ajax_Start
5)       ÐÞ¸ÄWebServiceÀïµÄclassÊôÐÔÖµ£¬ÒòΪÎÒÃÇÒѾ­ÎªÉú³ÉµÄÀàÌí¼ÓÁËÃüÃû¿Õ¼ä£¬ËùÒÔClass="Ajax_Start.ws_start"
 
ËÄ¡¢          ÏòDefault.aspxÒ³ÃæÖÐÌí¼ÓÒ»¸öScriptManage¿Ø¼þ£¬²¢¹ØÁªµ½ÉÏÃ潨Á¢µÄweb·þÎñ£¬´úÂëÈçÏ£º
        <asp:ScriptManager ID="ScriptManager1" runat="server">
            <Services>
                <asp:ServiceReference Path="~/ws_start.asmx" />
            </Services>
        </asp:ScriptManager>
 
Îå¡¢          ±àдweb·þÎñÖеĺ¯Êý£¬ÐÂÔöº¯ÊýÈçÏ£º
      ÔÚÌí¼Óº¯Êý֮ǰҪÏȽ«// [System.Web.Script.Services.ScriptService]µÄ×¢ÊÍÈ¥µô£¬ÒòΪֻÓÐʹÓÃÁËScriptServiceµÄÀà²ÅÄÜͨ¹ýajaxÔÚ¿Í»§¶Ëµ÷ÓÃ
&nb


Ïà¹ØÎĵµ£º

AjaxÌØЧ ¶¯Ì¬Ê÷ÐÎÁбí Ö®Èý

Êý¾Ý¿âÉè¼Æ
±¾ÊµÀýʹÓÃÃûΪtreeµÄÊý¾Ý¿â±í£¬°üº¬µÄÊý¾ÝÈçͼ1.8Ëùʾ£¬¾ßÌåµÄ½¨±íÓï¾äÈçÏ£º
CREATE TABLE 'tree' (
  'id' int(11) NOT NULL auto_increment,
  'text' varchar(255) NOT NULL,
  'isfolder' varchar(5) NOT NULL default 'false',
  'link' varchar(255) default NULL,
  ' ......

ajax¿ª·¢¿ò¼Ü½éÉÜ

 ÄÜʵÏÖÍϷŹ¦ÄܵÄjs½Å±¾dom-drag.js  www.yongpup.net
»ùÓÚä¯ÀÀÆ÷µÄ¿ª·¢¿ò¼Ü(Application Frameworks)
1.Bindows www.bindows.net
2.BackBase www.backbase.com
3.DOJO  dojotoolkit.org/
4.Open Rico openrico.org/rico/home.page
5.qooxdoo qooxdoo.oss.schlund.de/
6. ......

AJAX¿ò¼Ü

HTML source:
<p>
Name:
<input type="text" id="demoName"/>
<input value="Send" type="button" onclick="update()"/>
<br/>
Reply: <span id="demoReply"></span>
</p>
Javascript source:
var services = new dojox.rpc.Service({
target:"../dwr/j ......

ajaxÔ­Àí

AjaxµÄÔ­Àí¼òµ¥À´ËµÍ¨¹ýXmlHttpRequest¶ÔÏóÀ´Ïò·þÎñÆ÷·¢Òì²½ÇëÇ󣬴ӷþÎñÆ÷»ñµÃÊý¾Ý£¬È»ºóÓÃjavascriptÀ´²Ù×÷DOM¶ø¸üÐÂÒ³Ãæ¡£ÕâÆäÖÐ×î¹Ø¼üµÄÒ»²½¾ÍÊÇ´Ó·þÎñÆ÷»ñµÃÇëÇóÊý¾Ý¡£ÒªÇå³þÕâ¸ö¹ý³ÌºÍÔ­Àí£¬ÎÒÃDZØÐë¶Ô XMLHttpRequestÓÐËùÁ˽⡣
XMLHttpRequestÊÇajaxµÄºËÐÄ»úÖÆ£¬ËüÊÇÔÚIE5ÖÐÊ×ÏÈÒýÈëµÄ£¬ÊÇÒ»ÖÖÖ§³ÖÒì²½ÇëÇóµÄ¼¼Êõ¡ ......

AtlasÊÇʲô£¿asp.net+ajax

AtlasÊÇʲô£¿
atlas   2006-12-12 09:48   ÔĶÁ69   ÆÀÂÛ0  
×ֺţº ´ó´ó  ÖÐÖР СС
AtlasÊÇʲô£¿
ASP.NET”Atlas”ÊÇÒ»¸öеÄWeb¼¼Êõ¿ª·¢°ü£¬Ëü¼¯³ÉÁËÒ»Ì׷dz£´óµÄ¿Í»§¶Ë½Å±¾¿âʹµÃÓ빦ÄܷḻµÄ¡¢»ùÓÚ·þÎñÆ÷¿ª·¢Æ½Ì¨µÄASP.NET2.0½áºÏÔÚÒ»Æð£¬&rdq ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ