Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

DynamicLayout Property

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

Syntax

CSharp

[CategoryAttribute("Behavior")]
[DefaultValueAttribute(true)]
public bool DynamicLayout { get; set; }

VisualBasic

<CategoryAttribute("Behavior")> _
<DefaultValueAttribute(True)> _
Public Property DynamicLayout As Boolean

ManagedCPlusPlus

[CategoryAttribute(L"Behavior")]
[DefaultValueAttribute(true)]
public:
bool DynamicLayout {
	bool get ();
	void set (bool value);
}

JSharp

/** @property */
/** @property */

Value

Return Value

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

Remarks

When the DynamicLayout property is true, space for the progress template's contents is not allocated when the page is initially rendered. Instead, the page dynamically changes to display the contents as needed. When the DynamicLayout property is true, the <div> element that contains the progress template in the rendered markup has its style property display set to none.

When the DynamicLayout property is false, space for the progress template's contents is allocated when the page is initially rendered, and the UpdateProgress content is physically part of the page layout. The <div> element that contains the progress template has its style property display set to block and its visibility initially set to hidden.

Assembly: System.Web.Extensions (Module: System.Web.Extensions)