6 February 2014

What is the "DisplayAfter" property in the UpdateProgress control?

  1. The Displayafter property specifies how many seconds after loading the image that it needs to be displayed in the AJAX postback.
  2. In other words, it gets or sets the value in milliseconds before the UpdateProgress control is displayed.
  3. For example:

    In the following example, the "Loading" text will be displayed after 8 sec.
     
    <asp:UpdateProgress ID="UpdateProgress1" runat="server" DisplayAfter="8000" 
      AssociatedUpdatePanelID="UpdatePanel1">
       <ProgressTemplate>
            Loading...
       </ProgressTemplate>
    </asp:UpdateProgress>

No comments:

Post a Comment