ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout
PageLayoutResource Property
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout Namespace > PageLayout Class : PageLayoutResource Property




Defines the server and map resource used in the page layout.

Syntax

Visual Basic (Declaration) 
<DefaultValueAttribute()>
<EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.GISPageLayoutResourceItemDefinitionEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")>
<ResCategoryAttribute("Data")>
<ResDescriptionAttribute("MapResource to display in PageLayout.")>
<NotifyParentPropertyAttribute(True)>
Public Property PageLayoutResource As ESRI.ArcGIS.ADF.Web.UI.WebControls.GISResourceItemDefinition
Visual Basic (Usage)Copy Code
Dim instance As PageLayout
Dim value As ESRI.ArcGIS.ADF.Web.UI.WebControls.GISResourceItemDefinition
 
instance.PageLayoutResource = value
 
value = instance.PageLayoutResource
C# 
[DefaultValueAttribute()]
[EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="ESRI.ArcGIS.ADF.Web.UI.WebControls.Design.GISPageLayoutResourceItemDefinitionEditor, ESRI.ArcGIS.ADF.Web.UI.WebControls.Layout, Version=10.1.0.0, Culture=neutral, PublicKeyToken=8fc3cc631e44ad86")]
[ResCategoryAttribute("Data")]
[ResDescriptionAttribute("MapResource to display in PageLayout.")]
[NotifyParentPropertyAttribute(true)]
public ESRI.ArcGIS.ADF.Web.UI.WebControls.GISResourceItemDefinition PageLayoutResource {get; set;}

Property Value

Resource item definition with server and map resource.

Remarks

Unlike the Map control, the PageLayout control does not use a MapResourceManager control. Instead, the resource is defined by this property.

When adding the PageLayout control in Visual Studio, set this property using the editor dialog for the resource definition, rather than attempting to enter the value manually.

The PageLayout control requires an ArcGIS Server Local data source. Also remember to set an ArcGIS Identity for the page (this adds an encrypted identity to the web.config page).

Requirements

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

See Also

© 2011 All Rights Reserved.