www.日本精品,久久中文视频,中文字幕第一页在线播放,香蕉视频免费网站,老湿机一区午夜精品免费福利,91久久综合精品国产丝袜长腿,欧美日韩视频精品一区二区

ӣУΣţԡʣطc(yng)_ASP.NETʲô

l(f)rg:2020-02-16 Դ: ӛȫ c

ժҪ:ĽBASP.NET AJAXɁԺͼܘ(gu)ԼP(gun)ķ(w)˺Ϳ͑˼g(sh),Y(ji)όHĿ_l(f),CʹASP.NET AJAX˸õÑw͸ߵ_l(f)Ч
P(gun)I~:ASP.NET AJAX;ؼ;(w);͑
ЈD̖:TP312 īIRa:A

1

2005, Web2.0ᳱ,AjaxQ,_˟oˢ¸rĻ,ѸõÑw,ٵķ(w)͎ؓȂy(tng)Web(yng)ßoȔMă(yu),ɞֿɟWeb_l(f)g(sh),ژ˜ʻVֺ֧͑(yng)á
Ȼ,AjaxҲкܶ಻֮̎:漰ļg(sh)̫,_l(f)ҪČW,ijЩ^sĿ͑˳v,Ҫ_l(f)ߌJavaScriptԼP(gun)g(sh)dzͨ;ÿNg[ṩDOMģ;p΢IJ,ھg[Ŀ͑ˑ(yng)órdzy; ڴ󲿷ֱʾԼٲ֘I(y)(w)߉݋Ƶ˿͑JavaScriptF(xin),ʹ͑˴a,JavaScriptZԌϲ]Ƶ?q)֧?ʹ͑˴a|(zh)oC
C,Ajaxg(sh)ă(yu)Ñw,֮̎_l(f)y(yng)óİl(f)չڅ:Ñwڵһλ,cͬr,_l(f)ЧҲݺҕ˽Q@ӵĆ},NAjax󴺹S㑪(yng)\

2 ASP.NET AJAX?

2.1 Ajaxg(sh)
AjaxÑͷ(w)֮gC,ɌһЩIJoAjax,Ҫķ(w)@ȡ(sh)(j)rͨ^Ajaxֱ(w)ՈD1y(tng)Web(yng)ģcAjax Web(yng)ģ͵Ĺģʽ^:

D1y(tng)Web(yng)ģcAjax Web(yng)ģ͵Ĺģʽ^?
2.2 ASP.NET AJAX
еă(yu)㼼g(sh)һ,Ajaxѽ(jng),wY(ji):{(dio)UIܺ:
{(d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AX֞(w)˺Ϳ͑˃ɂ,Щܼȿȫʹÿ͑˹܌F(xin),ֿȫʹ÷(w)˹܌F(xin),^ͬ,(qun),(j)H_l(f)еľwrxmķ@P(gun)Ҫ?
3.2 ASP.NET AJAXܵļg(sh)`
_l(f)IJͬrԼ,(yng)ԓ^(q)exm_l(f)ʽ,NҪĈ:
1.^m(x)ʹͨASP.NET(w)ؼ,ASP.NET AJAXM¿ؼͿؼUչUչ书
2. ^(chung)ġAjax(yng)ó
^ġAjax(yng)ó,ָ(w)˛]καʾ߉݋,ֻÁṩ(sh)(j),ͬrеıʾ߉݋ڿ͑JavaScriptOһcf,@NġAjax(yng)ó?q)ֻһ,еĹ(Ñݔc(w)ͨš׃)ͨ^͑JavaScript팍F(xin)
3.ڷASP.NET 2.0(w)ƽ_ʹASP.NET AJAX
@NrµASP.NET AJAX(w)˟oF(xin),ֻܿ]ʹASP.NET AJAXĿ͑ˌF(xin)ʽ
ֵע,ASP.NET AJAXăɷNF(xin)ʽǻ,oɵfġxijNF(xin)ʽHHζƫʹijNF(xin)ʽ
һN鳣Ҋ,ҌF(xin)麆ԡʡr(nng)Դϵy(tng)еČH(yng)Þ,νBCascadingDropDownؼʹ
CascadingDropDownAjaxControlToolkitеĽM,ÁƔ(sh)ͨDropDownListؼ,ʹa(chn)oˢµļ“(lin)Ч,ͬr󺆻_l(f)ɼ“(lin)x׃^ͨ^l(f) IIS (w)ϵ Web Service F(xin)@ Web Service ȫؿм“(lin)ĘI(y)(w)߉݋ͨ^_l(f)ˆTԺܷ؏ Xml ߔ(sh)(j)Ы@P(gun)(sh)(j)P(gun)Ҫa:
!--бؼ--
asp:DropDownList ID=DropDownList1 runat=server SkinID=ddl1 AutoPostBack=true OnSelectedIndexChanged=DropDownList_SelectedIndexChanged/
•••
!--(yng)CascadingDropDownؼ--
ajaxToolkit:CascadingDropDown ID=CascadingDropDown1 runat=server TargetControlID=DropDownList1 LoadingText=ڼd^(q)͡ PromptText=Ոx^(q)͡ ServicePath=UserManage.asmx ServiceMethod=getAreaType Category=typename
/ajaxToolkit:CascadingDropDown
ajaxToolkit:CascadingDropDown ID=CascadingDropDown2 runat=server TargetControlID=DropDownList2 ParentControlID=DropDownList1 LoadingText=ڼdмС PromptText=ՈxмС ServicePath=UserManage.asmx ServiceMethod=getCity Category=cityname
/ajaxToolkit:CascadingDropDown
ajaxToolkit:CascadingDropDown ID=CascadingDropDown3 runat=server TargetControlID=DropDownList3 ParentControlID=DropDownList2 LoadingText=ڼdhСPromptText=ՈxhС ServicePath=UserManage.asmx ServiceMethod=getCountry Category=countryname
/ajaxToolkit:CascadingDropDown
WebServicea(бWebServicea):
//@ȡh
[WebMethod]
public CascadingDropDownNameValue[] getCountry(string knownCategoryValues, string category)
{StringDictionary kv= CascadingDropDown.ParseKnownCategoryValuesString(knownCategoryValues);
•••
if ((kv.ContainsKey(rolename) && kv.ContainsKey(cityname) && kv[rolename] == 6fc98827-de43-4026-b67d-b4d207fb1afd)|| (kv.ContainsKey(typename) && kv.ContainsKey(cityname)))
{ DataTable countries = getCountryTable(kv[cityname].ToString());
//б
ListCascadingDropDownNameValue values = new ListCascadingDropDownNameValue();
foreach (DataRow dr in countries.Rows)
{ values.Add(new CascadingDropDownNameValue(dr[CountryName].ToString(), dr[CountryID].ToString())); }
return values.ToArray();
•••

4 Y(ji)Z

ASP.NET AJAXʵֻһJavaScriptһ{(dio).NETM,һӵƽ_,܉(chung)푑(yng)ԸӑB(ti)DDO(sh)һȫͬ͵Web(yng)óσ(ni)ݿ֪,ͬӴʹASP.NET AJAXܡ,ASP.NET AJAX߀ڲİl(f)չ,ԴđA(y)y,ASP.NET AJAX Control Toolkitṩķ(w)˔Uչؼ,׌_l(f)ߘO鷽؞F(xin)еASP.NET(yng)óAjax;(w)ƽ_όЌASP.NET AJAX(w)˿ؼ/MČF(xin)?

īI?
[1].ASP.NET AJAXO(sh)Ӌ(I): (w)ASP.NET 2.0 AJAX ExtensionscASP.NET AJAX Control Toolkit [M]. : ]늳, 2007.?
[2].ASP.NET 2.0 AjaxO(sh)Ӌ(II): ͑Microsoft AJAX LibrarycͨŌ[M]. : ]늳, 2007.?
[3][] Matthew MacDonald, Mario Szpuszta.ASP.NET 3.5߼O(sh)Ӌ(2) [M]. : ]늳, 2008.?

P(gun)~ ASP NET ӣУΣţԡʣطc(yng) asp net+ajax asp net ajax

cx

(qun) ѹӢժ www.newchangjing.com