您的位置:首页 > 其它

一个将服务器端方法映射到客户端的小小控件

2007-10-24 14:28 246 查看
一个方便的ajax小控件自己写的,支持同步,异步,引用类型返回。dudu请让我放到晚上吧~

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

<title>Untitled Page</title>

<asp:AJAXManager ID="AJAX1" runat=server />

</head>

<body>

<form id="form1" runat="server">

<div>

<span id="loading" style="display:none">loading</span>

<input type="button" value="从服务器端返回一个人的名字(同步)" onclick="s_gethuman();" />

<input type="button" value="从服务器端返回一个人的名字(异步)" onclick="a_gethuman();" />

</div>

</form>

</body>

</html>

namespace EasyAJAX

/Files/superpopredboy/EasyAJAX.zip

/Files/superpopredboy/source.rar
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐