Upraviť

Zdieľať cez


UpdateProgress Constructor

Definition

Initializes a new instance of the UpdateProgress class.

public:
 UpdateProgress();
public UpdateProgress ();
Public Sub New ()

Remarks

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.

Applies to