UpdateProgress Constructor ()


Initializes a new instance of the UpdateProgress class.

Namespace:   System.Web.UI
Assembly:  System.Web.Extensions (in System.Web.Extensions.dll)

new : unit -> UpdateProgress

When you create an UpdateProgress control dynamically, you create a custom template that inherits from the ITemplate control. You specify markup in the InstantiateIn method, and then set the ProgressTemplate property of the dynamically created UpdateProgress control to a new instance of the custom template. When you create UpdateProgress controls dynamically, you must do so during or before the PreRender event of the page. If you create the UpdateProgress control later in the page life cycle, progress is not displayed.

.NET Framework
Available since 3.5
Return to top