PageMethods还是通用处理程序?

I am making a site where users can reply to topics, open topics, etc. and when the user sends a message, I don't want to postback; it's ugly.

I'm using generic handlers right now but I am having some problems with it. Like updating GridView using UpdatePanel when XMLHttpRequest's onreadystate is changing.

I decided to use PageMethods but I also wanted to ask you.

Which is better, faster and more useful: PageMethods or Generic Handlers?

查看全部
weixin_33749242
weixin_33749242
2010/07/21 09:20
  • asp.net
  • ajax
  • 点赞
  • 收藏
  • 回答
    私信

3个回复