开发者

How to call a server-side function right after closing a telerik RadWindow?

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 R开发者_高级运维adWindow 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.


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-side ajaxRequest method.

On its own, it doesn't postback to the server on close by default.

HTH.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜