开发者

Commit updates to UpdatePanel before synchronous process ends

开发者 https://www.devze.com 2023-01-05 06:51 出处:网络
I have a button click configured as an asynchronous postback trigger in ASP.NET AJAX. I want to hide a panel immediately, and then continue executing the rest of the code in the event 开发者_运维百科h

I have a button click configured as an asynchronous postback trigger in ASP.NET AJAX. I want to hide a panel immediately, and then continue executing the rest of the code in the event 开发者_运维百科handler.

How can I do this?


I've implemented this by using a timer. When I click the button it performs the actions that I want done right away, and a separate timer Tick event completes processing asynchronously.

0

精彩评论

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