如何而一个的UpdateProgress正在使用在UpdatePanel的的ContentTemplate被隐藏?UpdateProgress、UpdatePanel、ContentTemplate

由网友(鸢浅)分享简介:什么是隐藏更新面板的内容调用的UpdateProgress时,最简单的方法是什么?What is the easiest way to hide the Contents of an Update Panel when the UpdateProgress is invoked?推荐答案下面是一个很好的例子这样使...

什么是隐藏更新面板的内容调用的UpdateProgress时,最简单的方法是什么?

What is the easiest way to hide the Contents of an Update Panel when the UpdateProgress is invoked?

推荐答案

下面是一个很好的例子这样使用 Ajax控件Toolki

Here is a nice example doing this using Ajax Control Toolki

<ajaxToolkit:UpdatePanelAnimationExtender ID="ae"
  runat="server" TargetControlID="up">
     <Animations>
        <OnUpdating> ... </OnUpdating>
        <OnUpdated> ... </OnUpdated>
    </Animations>
</ajaxToolkit:UpdatePanelAnimationExtender>

*  TargetControlID - ID of the UpdatePanel  whose updates are used to play the animations (this is also the default target of the animations)
* OnUpdating - Generic animation played as when any UpdatePanel begins updating
* OnUpdated - Generic animation played after the UpdatePanel has finished updating (but only if the UpdatePanel was changed)

您也可以观看这部影片

阅读全文

相关推荐

最新文章