GoView1.Document.Size.IsEmpty

Hi

I'm using web version and I found: <?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

After creating my nodes: GoView1.Document.Size.IsEmpty = False

After Postback GoView1.Document.Size.IsEmpty = True

Is this corret behavior?

Thanks

I wouldn’t think so. In what codepath are you making the test?

My code is:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load If Not IsPostBack Then
CreateDrawing()
' Here you find GoView1.Document.Size.IsEmpty = False
ELSE
' Here you find GoView1.Document.Size.IsEmpty = True
ENDIF
End Sub
"Zoom in" calls goZoom('in','GoView1') and nothing happens
The same with "Zoom out"

Right… Page_Load shouldn’t be called more than once if you are using NoPost=true. Read through the GoWebIntro document, in particular the “Sessions and Initialization” section.

Jake,
Page_Init and Page_load are both called every postback.
I determined, that I have to hook up at any event to find the objects