如何使用ICallbackEventHandler及其事件RaiseCallbackEvent(),GetCallbackResponse() [英] How can I use ICallbackEventHandler and its events RaiseCallbackEvent(), GetCallbackResponse()

查看:98
本文介绍了如何使用ICallbackEventHandler及其事件RaiseCallbackEvent(),GetCallbackResponse()的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用ICallbackEventHandler及其事件RaiseCallbackEvent(),
GetCallbackResponse()将请求从客户端发送到服务器,并基于请求如何呈现HTML页面?

请帮忙.

在此先谢谢您.

How can I use ICallbackEventHandler and its events RaiseCallbackEvent(),
GetCallbackResponse() to send request from client to server and based on the request how can we render a HTML page?

Please Help.

Thanks in advance.

推荐答案

您需要继承页面/用户控件上的接口才能使用它.然后在页面上实现RaiseCallbackEvent()和GetCallbackResult()方法.

有许多使用此接口的示例.请参阅以下内容:

http://msdn.microsoft.com/en-us/library/ms178208.aspx [ ^ ]
http://www.ajaxmatters.com/2006/05/using-icallbackeventhandler-in -asp-net/ [ ^ ]
ICallbackEventHandler [
You need to inherit the interface on the page/user control in order to use it. Then implement RaiseCallbackEvent() and GetCallbackResult() methods on your page.

There are plenty of examples of the usage of this interface. See the following:

http://msdn.microsoft.com/en-us/library/ms178208.aspx[^]
http://www.ajaxmatters.com/2006/05/using-icallbackeventhandler-in-asp-net/[^]
The ICallbackEventHandler[^]


这篇关于如何使用ICallbackEventHandler及其事件RaiseCallbackEvent(),GetCallbackResponse()的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆