开发者

I need a generic ajax request handler for asp.net

I have an application that some pages use asp.net ajax calls and some others are using prototype ajax calls.

I want to know if theres a way using javascript to intercept all a开发者_开发百科jax requests no matter how they were created so I can execute a client custom script after every partial postback.

I want to have that code in a .js file included in all my pages.

Any ideas?


Intercepting an event which you created yourself is a bit strange (and no, I don't think there is actually a way of doing it in this case). You just have to make a call from the right place in your code.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜