如何在关闭 telerik RadWindow 后立即调用服务器端函数?
我试图在关闭 telerik RadWindow 后立即调用服务器端方法。 我有一个弹出的RadWindow,我想在弹出窗口关闭后在客户端和服务器端执行一些操作。 我一直在寻找像 OnClientClose 这样的事件,RadWindow 可以调用该事件 一种客户端方法,但我找不到。
有谁知道如何创建 OnClose 事件或者应该如何正确完成?
谢谢。
I am trying to call a server-side method immediatly after closing a telerik RadWindow.
I have a pop-up RadWindow, and I want to perform a few operations in the client-side and server-side after that pop-up window is closed.
I've been looking for an event like OnClientClose, that the RadWindow has for calling
a client-side method, but I couldn't find one.
Does anyone know how to create OnClose event or how should it be done properly?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须有一个客户端关闭事件,并使用
__doPostBack
执行回发,或者如果页面上有 AJAX 面板控件,您可以使用其客户端ajaxRequest< 刷新它/代码> 方法。
默认情况下,它本身不会在关闭时回发到服务器。
HTH。
You have to have a client close event, and perform a postback by using
__doPostBack
, or if you have an AJAX panel control on the page, you can refresh it with its client-sideajaxRequest
method.On its own, it doesn't postback to the server on close by default.
HTH.