易截截图软件、单文件、免安装、纯绿色、仅160KB

AJAX 无刷新

ICallbackEventHandler 
         
 aspx  页面:
function CallServer(PhotoId)
{
        document.getElementById("updatediv").style.display = "block";
        document.getElementById("txtPhotoID").value = PhotoId;
        var product = document.all("txtPhotoID").value;
        <%= ClientScript.GetCallbackEventReference(this, "product", "ReceiveServerData",null)%>;
}
function ReceiveServerData(PhotoInfo)
{
  if(PhotoInfo!="")
  {
   var result="";
    var str=PhotoInfo;
    var Photo=str.split("^&^");
    for(i=0;i<Photo.length;i++)
    {
      result += Photo[i];
    }
    document.getElementById("txtPhotoName").value=Photo[0];
    document.getElementById("txtPhotoDescr").value=Photo[1];
  }else{("请选择需要修改的相片!");}
}
.cs 页面
string  ICallbackEventHandler.GetCallbackResult()
    {
        return Server.UrlDecode(CallBackValue)+"^&^"+Server.UrlDecode(CallPhotoColltion);
    }
    void ICallbackEventHandler.RaiseCallbackEvent(string eventArgument)
    {
        int PhotoID = int.Parse(eventArgument);
        PhotoInfo = Photo.GetModel(PhotoID);
        string PhotoName = PhotoInfo.PhotoName;
        CallBackValue = Server.UrlDecode(PhotoName);
        string PhotoIntroduction = PhotoInfo.PhotoIntroduction;
        CallPhotoColltion = Server.UrlDecode(Phot


相关文档:

小编简述Ajax技术的那些框架

 
 
从2005 年Web2.0 的兴起开始算起,Ajax 伴随着国内的Web 开发社区走过了近四年的成长时间。四年的时间,对于一项Web 技术不算短了,这不仅是对当初对Ajax“旧瓶装新酒”持不屑态度的人的反驳,更把更多观望中的开发者拉入了Web 开发的行列。
Ajax的框架也开始一一出现:
Buffalo 是现任Thought ......

Atlas是什么?asp.net+ajax

Atlas是什么?
atlas   2006-12-12 09:48   阅读69   评论0  
字号: 大大  中中  小小
Atlas是什么?
ASP.NET”Atlas”是一个新的Web技术开发包,它集成了一套非常大的客户端脚本库使得与功能丰富的、基于服务器开发平台的ASP.NET2.0结合在一起,&rdq ......

xmlDoc Ajax技术

 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript&quo ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号