开发者

How to stop AJAX update taking place in one update panel from another update panel?

We have two update panels on our webpage. Now first update panel is having button cancel. While second update panel is having a file upload control.

Now if the user uploads a file that is going to upload in about 2 mins, and in between, say after 30 seconds the user clicks the cancel button, the upload taking place in update panel 2 should stop.

How do we achieve this ?开发者_运维知识库


use the keyword mode="conditional" in the update panel tag.. hope this solves..


you can use 'conditional mode' in update mode. Also if the button is outside update panel you can use an update panel trigger to refresh the other update panel. http://geekswithblogs.net/ranganh/archive/2007/05/16/112526.aspx

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜