GoDiagram Web Reference
ImagePage Property

Gets or sets the URL of the page that actually produces the image of this view in this web application.
Syntax
'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;}

Property Value

This defaults to "GoWebImage.axd". A new page name must not be null. A non-empty string should be a relative path; the tilde character is not supported.
Remarks

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.

Requirements

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

See Also

Reference

GoView Class
GoView Members
GetSessionViewsTable Method

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback