哪位大神又空说一下:
在写Ext Coolite 的js方法中,调用了后台方法 
[AjaxMethod]
public  string CreateScore(string ID, string score, string reviews){...},怎么在后台断点后,命中不了断点?

解决方案 »

  1.   

    这样请求:
    Ext.Ajax.request(
       url:""
       success:function(){   }
    )
      

  2.   

    在js文件中,用Coolite.AjaxMethods.CreateScore(参数1,参数2,参数3,{
      success:funcation(result)
      {
        .....
      }
    });
      

  3.   

    还有会出现VS调试器,错误信息:aspnet_wp.exe[2548]中发生未处理的Microsoft.NET Framework异常,是怎么回事?
      

  4.   

     function AddTb() {
            debugger;
                Coolite.AjaxMethods.zhuochao({
                    success: function (result) {
                      Ext.Msg.alert('提示', result);
                   }
         });
    }这是前台的
    [AjaxMethod()]
        public string zhuochao()
        {
                DataRow dr = dt.NewRow();
                dr["卡号"] = TextField1.Text;
                dr["日期"] = TextField2.Text;
                dr["资金"] = TextField3.Text;
                dt.Rows.Add(dr);
                return "success";
        }这是后台的,为什么后台设断点进不去,前台方法是执行了!而且没有报错