![]() ![]() |
ESRI.ArcGIS.ADF.Web.UI.WebControls | |
RenderOnDemand Property | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > TreeViewPlus Class : RenderOnDemand Property |
Visual Basic (Declaration) | |
---|---|
<ResDescriptionAttribute("Whether collapsed nodes render children nodes to the browser on initial page load, or only when expanded.")> <DefaultValueAttribute()> <ResCategoryAttribute("TreeViewPlus")> <BrowsableAttribute(True)> <PersistenceModeAttribute(PersistenceMode.Attribute)> Public Overridable Property RenderOnDemand As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As TreeViewPlus Dim value As Boolean instance.RenderOnDemand = value value = instance.RenderOnDemand |
C# | |
---|---|
[ResDescriptionAttribute("Whether collapsed nodes render children nodes to the browser on initial page load, or only when expanded.")] [DefaultValueAttribute()] [ResCategoryAttribute("TreeViewPlus")] [BrowsableAttribute(true)] [PersistenceModeAttribute(PersistenceMode.Attribute)] public virtual bool RenderOnDemand {get; set;} |
If this property is true, contents of nodes will be requested only when nodes are expanded to display the node's contents (if TreeViewPlus.ExpandDepth is set so that a node is expanded on startup, its contents will be rendered at that point). If this property is false, contents and images will be requested on page startup. For example, if the tree is used for a map legend, and this property is false, then all legend swatches are requested on page startup. This can involve many requests and delayed startup if the map includes large numbers of layers or layers with large numbers of categories.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family