ÈçºÎÔÚ sharepointÀïÃæ ʹÓÃajax ºÍ ajaxtoolkit £¿
ÈçºÎÔÚ sharepointÀïÃæ ʹÓÃajax ºÍ ajaxtoolkit Õâ¸öÎÊÌâÎÒ֮ǰȥ°Ù¶ÈºÍGoogle¸ö¶à´Î£¡»ù±¾É϶¼ÊÇ˵µÄÐÞ¸ÄÕ¾µãÏÂÃæµÄÅäÖÃÎļþ£¡ºÙºÙµ±È»ÎÒÕâÀïÒ²ÊÇÐÞ¸ÄÅäÖÃÎļþ£¡
ÏÂÃæÊÇÎÒÔÚmsdnÌáµÄÎÊÌâÕâ¸öÎÊÌ⣡ °´ÕÕ΢ÈíÀïÃæÈËԱ˵µÄ²½ÖèÅäÖÃ
http://social.microsoft.com/Forums/zh-CN/partnercndevsharepoint/thread/2d63d004-ef0c-4bad-88e9-c40992e136b8
ÒýÓÃÒ»ÏÂËûµÄ»Ø¸´£º
¹ØÓÚÈçºÎÔÚSharepointÖÐÅäÖÃASP.NET AJAX£¬×î¹Ù·½µÄÖ¸µ¼ÊÇ£º
Integrating ASP.NET AJAX with
SharePoint
http://sharepoint.microsoft.com/blogs/mike/Lists/Posts/Post.aspx?ID=3
ÕâƪÎÄÕÂÖнéÉÜÁË×°ºÍÅäÖÃ
ASP.NET AJAX 1.0 Extensions µÄ¹ý³Ì¡£
1.ÏÈ°²×° ASP.NET AJAX 1.0 Extensions £¬°Ñ AjaxControlToolkit.dll ·ÅÔÚgacÈ«¾Ö»º´æÀïÃæ
2.ÐÞ¸ÄÕ¾µãÏÂÃæµÄweb.configÎļþ£¡ ÔÚ http://c1dv2q.blu.livefilestore.com/y1pvl_gf_tuoLPA622YoLz28DnS9x7Ppd81axdMZ2Xti3fmzell0pOQmW5Ybr8B5M01Hsw6G-miTrjtyVts-pAjhAnBnR6lr1Aj/web.config?download ÏÂÔØweb.config¸²¸ÇÄãµÄweb.config ÀïÃæдÓÐʹÓÃajaxÐèÒª¼ÓµÄ½Úµã×¢ÊÍ£¡ Èç¹ûÄã²»¸²¸Ç¾Í°ÑÄÇЩ½Úµã¼Óµ½ÄãµÄweb.configÀïÃæ
3.°ÑAjaxControlToolkit.dll¿½±´µ½ÄãÕ¾µãϵÄbinĿ¼ÀïÃæ"Èç:C:\inetpub\wwwroot\wss\VirtualDirectories\9000\bin"ÁËÀïÃæ
4.д²âÊÔ´úÂ룡
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ajaxTest.ascx.cs" Inherits="Nexocial.Sample.ajaxTest" %>
<%@ Register Assembly="AjaxControlToolkit, Version=3.0.20820.16598, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e"
Namespace="AjaxControlToolkit" TagPrefix="cc2" %>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<asp:TextBox runat="server" ID="tbInput" />
<asp:Button ID="btnTest" runat="server" Text="²âÊÔAjax" onclick="btnTest_Click" /><br />
<asp:Label ID="lbl
Ïà¹ØÎĵµ£º
Web¿ª·¢Õß²»»á×¢Òâµ½ÓÉ “AJAX(Asynchronous JavaScript And
XML)”Ëù´øÀ´µÄ¼¤Çé¡£²»·ÑÁ¦Æø¾ÍÄÜ´´½¨ÏñGoogle
SuggestÄÇÑùµÄÖÇÄÜÍøÕ¾»òÕßÏñGmailÄÇÑù»ùÓÚWebµÄÓ¦ÓóÌÐò£¬ÕâÔںܴó³Ì¶ÈÉÏÒª¹é¹¦ÓÚÕâÖÖ¼¼Êõ¡£È»¶ø£¬°éËæ×ÅAJAXÓ¦ÓóÌÐòµÄ·¢Õ¹£¬ÎÒÃÇ·¢
ÏÖÁËËüµÄһЩ²»×ãÖ®´¦£¬ÎÒÃÇ·¢ÏÖËüµÄ°²È«Â©¶´Ò²ÔÚÖð½¥±ä´ó£¬¾ ......
Background For the basic of how to create an AJAX enabled WCF service, please refer to MSDN: http://msdn.microsoft.com/en-us/library/bb924552.aspx. For the basic of JSONP, please refer to: http://en.wikipedia.org/wiki/JSON#JSONP. This article introduce how to make AJAX enabled WCF service support cr ......
ʼþ´¥·¢£º
<input name="keyword" onkeyup="LoadResults(this.value)" id="keyword" runat="server"/>
¿Í»§¶ËÖ÷Ì壺
//¶¨ÒåÓû§¿Ø¼þIDÈ«¾Ö±äÁ¿
var ClientID;
function ShowDiv(divid)
{
//...
}
function HideDiv(divid)
{
//...
}
//Ò³Ãæ¼ÓÔØʱµÄ´¦Àí
function BodyLoad()
{
HideD ......
jQueryȷʵÊÇÒ»¸öͦºÃµÄÇáÁ¿¼¶µÄJS¿ò¼Ü£¬ÄÜ°ïÖúÎÒÃÇ¿ìËٵĿª·¢JSÓ¦Ó㬲¢ÔÚÒ»¶¨³Ì¶ÈÉϸıäÁËÎÒÃÇдJavaScript´úÂëµÄÏ°¹ß¡£
·Ï»°ÉÙ˵£¬Ö±½Ó½øÈëÕýÌ⣬ÎÒÃÇÏÈÀ´¿´Ò»Ð©¼òµ¥µÄ·½·¨£¬ÕâЩ·½·¨¶¼ÊǶÔjQuery.ajax()½øÐзâ×°ÒÔ·½±ãÎÒÃÇʹÓõķ½·¨£¬µ±È»£¬Èç¹ûÒª´¦Àí¸´ÔÓµÄÂß¼£¬»¹ÊÇÐèÒªÓõ½jQuery.ajax()µÄ(Õâ ......
Õ⼸ÌìÔÚдһ¸öÒ³Ãæ,Ò³ÃæÄÚÈÝÈ«ÊǾֲ¿Ë¢ÐÂ,×î½ü¿´µ½ÁËAjax¿Ø¼þ,¾õµÃºÜÐÂÏÊ,ÓÚÊǾÍÓÿؼþ¿ª·¢,Óöµ½µÄÎÊÌâÊÇÔÚÌ«¶à.
Í·¶¼¸ãÔÎÁË ,ÒÔºó²»ÓÃÁË .ÍƼö»¹ÊÇʹÓÃWebServicesµÄºÃ.
1.Òѳɹ¦Óë·þÎñÆ÷½¨Á¢Á¬½Ó£¬µ«ÊÇÔڵǼ¹ý³ÌÖз¢Éú´íÎó¡£ (provider: ¹²ÏíÄÚ´æÌṩ³ÌÐò, error: 0 - ¹ÜµÀµÄÁíÒ»¶ËÉÏÎÞÈκνø³Ì¡£)
´Ë´íÎóÎÒÔÚÍøÉÏÕÒ ......