UpdateProgress.DynamicLayout Property

 

Gets or sets a value that determines whether the progress template is rendered dynamically.

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

public bool DynamicLayout { get; set; }

Property Value

Type: System.Boolean

true if the progress template is rendered dynamically; otherwise, false. The default value is true.

The DynamicLayout property determines whether space for the progress template's contents is allocated on the page only when it is needed.

When the DynamicLayout property is true, space for the progress template's contents is not allocated when the page is first rendered. Instead, the page changes dynamically to display the contents when it is required. In the style property of the div element that contains the progress template in the rendered markup, the display attribute is set to none.

When the DynamicLayout property is false, space for the progress template's contents is allocated when the page is first rendered, and the UpdateProgress control content is physically part of the page layout. In the style property of the div element that contains the progress template in the rendered markup, the display attribute is set to block, and the visibility attribute is initially set to hidden.

.NET Framework
Available since 3.5
Return to top
Show: