GoDiagram Web Reference
OnNoPostLoad Method

This method is called by GoWebImage.OnLoad to support initialization of a view after being deserialized for use by a direct request to a GoWebImage.
Syntax
'Declaration
 
Public Overridable Sub OnNoPostLoad() 
public virtual void OnNoPostLoad()
Remarks
Normal first-time and postback requests to an ASP.NET page will result in a Page to be constructed and initialized, including its web control children. You will want to establish event handlers on a view in the page's Init or Load event handlers. However, no Page containing a GoView is constructed in a request to GoWebImage, so such initialization of the view cannot be done. A GoWebImage page request with event information in the query string such as mouse events will directly manipulate the deserialized view. Such a view instance will need to have its non-serialized state restored, including event handlers.
            public override void OnNoPostLoad() {
              base.OnNoPostLoad();
              this.LinkCreated += new GoSelectionEventHandler(LinkDrawn);
            }
            
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

 

 


© 2013. Northwoods Software Corporation. All Rights Reserved.

Send Feedback