我的代码是思路是这样的,前台中Click事件触发JS的函数
js:
function A()
{
app.direct.B();
}
B是在.cs中:
[directMethod]
public void b()
{
//执行代码
……
//回传
e.ExtraParamsResponse.Add(new Ext.Net.Parameter("data", "ABC"));
}
但是到B之后,就没有办法传(object sender, DirectEventArgs e)这两个参数了,所以回传那段会提示上下文没有'e'。怎么解决