解决方案 »

  1.   

    jquery调用ashx
    https://sites.google.com/site/spyderhoodcommunity/tech-stuff/usingjqueryinaspnetappswithhttphandlersashxhttp://www.codeproject.com/Articles/170882/jQuery-AJAX-and-HttpHandlers-in-ASP-NET
      

  2.   

    Jquery UI里面没有DataGrid啊。
      

  3.   

    Refer here:
    http://www.cnblogs.com/insus/p/3713459.html
    http://www.cnblogs.com/insus/p/3785484.html
      

  4.   

    我也是菜鸟   给你一个思路  比如登录1.所有的JS代码写在Login.aspx中
    2.当浏览器请求Login.aspx时就会将所有的js代码解析到浏览器的js中
    3.当点击登录按钮的时候 执行Login() 发出异步请求转到ashx页面    ;
    4.一般处理程序中的PR方法获取表中所有数据以ajax对象的形式序列化成json字符串返回给浏览器中异步对象的onreadystatechange回调函数
    5.回调函数中执行追加数据的方法
      

  5.   

    用的jquery easy ui ,素不敢乱提供demo。
    给楼猪思路吧。
    1、确保页面上datagrid控件没问题
    2、写个按钮,调用jquery的ajax发送数据
    $.ajax({
                        url: '../ClubWeekWorkHandler.ashx,  //请求的地址
                        type: 'post',//提交方式
                        dataType: 'json',//参数类型
                        data: jsonVal,//传递的参数
                        success: function (result) {
                             //成功后的返回值
                         },
                        error: function () {
                            alert('查询失败);
                        }
                    });
    3、请求的页面接收并返回数据,这个有需要也可以贴代码
      

  6.   

    1.ajax提交数据和ashx中怎么接收和怎么反馈
    ajax  post 或get 提交 ashx 使用content .request.querystring 或 from 获取 
    处理后使用respones输出
    再用之前提交的方法  success(data) 获取值 data就是response输出的
    2.怎么在jquery ui中的datagrid中显示接收的json
    用上面的方法拼吧