Northwoods.GoWeb Assembly > Northwoods.GoWeb Namespace > GoView Class : ImagePage Property |
'Declaration <DescriptionAttribute("the ASP.NET page that serves a rendering of a view as an image")> <EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Web.UI.Design.ImageUrlEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> <DefaultValueAttribute()> Public Property ImagePage As String
[DescriptionAttribute("the ASP.NET page that serves a rendering of a view as an image")] [EditorAttribute(EditorBaseTypeName="System.Drawing.Design.UITypeEditor, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", EditorTypeName="System.Web.UI.Design.ImageUrlEditor, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [DefaultValueAttribute()] public string ImagePage {get; set;}
The default value, "GoWebImage.axd", requires an entry in the Web.config
as follows:
<httpHandlers> <add verb="GET" path="GoWebImage.axd" type="Northwoods.GoWeb.GoWebImageHandler"/> </httpHandlers>The GoWebImageHandler class is defined in the
Northwoods.GoWeb.dll
assembly.
An alternative implementation for image generation is to specify "GoWebImage.aspx" as the value. You would need to have this page be part of your web site. The contents of the page, in its entirety, would be:
<%@ Page Inherits="Northwoods.GoWeb.GoWebImage" %>However, using this ASPX page mechanism does suffer from potential interference from ASP.NET templates, which may try to write this page.
Either standard definition of this page can be shared by multiple GoView
instances in a web application, including GoPalette
or GoOverview
instances.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2