Problems of posting and GoOverview


I have two big problems with GoDiagram:

The first is when I make a single click in my Goview, the html page is reload(re-post) and i see very quick my goObject erase and draw again. Is there any possibilities to make this invisible because on the client browser it must be the most reactive.

The second it is about GoOverView i can see the GoObject of the Goview but when i want to click on the GoOverView I have a error message:

On Mozilla console javascript:

Erreur : syntax error

Fichier source :

Ligne : 7

Code source :

In detail:

goview_GoOverview1.Cursors = new Array();

goview_GoOverview1.ToolTips = new Array();

goview_GoOverview1.ToolTipDefault = ‘’;


Untitled Page

What version are you using? If you are evaluating, you might as well try the most recent version.

I don't think we have tried using the old Mozilla browser in years. But GoDiagram Web should work in (Mozilla) Firefox, although with slightly reduced functionality.

It’s not a problem of version i think i use ie 6,7 and firefox there are always this mistake.

I’m using the “GoWeb2612 pour VS2005.msi”.

I think i forget something in the declaration of GoOverview can you give an example of code which represent GoOverView with goview where you can move, pan, and zoom with the GoOverview.

PS: I don’t succeed to have a overviewRectangle in the GoOverView.

Thanks for the help

Somehow the GoOverview.Observed property needs to be set to refer to the GoView you want to show. You can do that in your Page.Load code.

Now it’s good to move in GoOverview but there is still the problem

Erreur : syntax error

Fichier source : http://localhost:1266/WebSite3/GoWebImage.aspx?GoViewData=8fe941b11eac454bad8963651a4f6ddb&gp=1&go=1

Ligne : 10

Code source :

In detail:

goview_GoOverview1.Cursors = new Array(0,187,66,104,139,’’,0,186,65,106,141,‘move’);

goview_GoOverview1.ToolTips = new Array(0,0,0,10,10,‘Click to Scroll NW; Shift-Click to Scroll by a Page’,0,10,0,380,10,‘Click to Scroll N; Shift-Click to Scroll by a Page’,

0,390,0,10,10,‘Click to Scroll NE; Shift-Click to Scroll by a Page’,0,0,10,10,395,‘Click to Scroll W; Shift-Click to Scroll by a Page’,

0,390,10,10,395,‘Click to Scroll E; Shift-Click to Scroll by a Page’,0,0,405,10,10,‘Click to Scroll SW; Shift-Click to Scroll by a Page’,

0,10,405,380,10,‘Click to Scroll S; Shift-Click to Scroll by a Page’,0,390,405,10,10,‘Click to Scroll SE; Shift-Click to Scroll by a Page’);

goview_GoOverview1.ToolTipDefault = ‘’;


Untitled Page

And in my code i just have:

GoOverview1.Document = GoView1.Document

GoOverview1.Observed = GoView1

Actually, you don’t need to set GoOverview.Document; but it doesn’t do any harm, either.

Do you get any errors when you try our online samples?
Also, can you tell exactly what the error is? What does the Error Console show?

I have no errors when I try online samples.

There is no errors in console visual studio just errors in IE or Firefox.

I show you the informations about the errors I saw i don’t understand what is the problem with my GoOverview.

It is strange that javascript appear before Html.

Sorry, I was referring to the Firefox Error Console.

But are you saying that you have the same problem with both IE and Firefox, and the problem is definitely with the GoOverview? Is the GoView appearing and behaving well?

No problem.

Yes I have the same errors in these two differents explorer. and I think the problem is definitely with GoOverview because this morning I have just goview and it was ok and when i put GoOverview on my project i have this problem.

In fact I have this problem when I click just on the overview.

Goview appearing and behaving well.

How did you declare the GoOverview in your ASPX file?

The HTML you show in your post above is very odd. You didn't write anything like that, did you? Hmm, are you using any templates? I suggest you change all your GoViews (including your GoOverview) to specify an ImagePage="GoWebImage.axd" and add:

<httpHandlers><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

<add verb="GET" path="GoWebImage.axd" type="Northwoods.GoWeb.GoWebImageHandler"/>


to your Web.config file, as discussed in GoWebIntro.doc and as used in all of the samples. You can then delete GoWebImage.aspx. This is more efficient too, on the server.

I add on all my GoView and my GoOverView ImagePage=“GoWebImage.axd” , and I add :

to my web config and delete GoWebImage.aspx.

Now my GooverView are OK but it is still slow. It means when I click on my html page the page reload (repost) all the object and we see that on the screen.

I tried your sample on :

When you move a GoBasicNode just the GoNode is modified not all the page how can I do that.

It’s OK i found it

GoView1.NoPost = True

But Now I have a new problem because normally when I click on Goview1–> Goview2 is refresh.

But not anymore now.

And is it possible to make this:

GoView1.NoPost = True

GoView1.DragsRealtime = True.

because nopost is OK but dragsRealTime is not

thanks for your help!

Yes, the point of the GoView.NoPost property is to cause the GoView event handling to happen and a new image generated on the server and reloaded on the client, without an ASP.NET page postback. GoView has always supported this AJAX-like style of interaction.
Is GoView2 another GoView on your page that needs to be updated whenever GoView1 is updated? If so, you can call a JavaScript function to do this:
goAddUpdate('GoView1', 'GoView2');
GoOverview uses this same mechanism, by the way. And GoOverview.NoPost is true by default, unlike for GoView where NoPost is false by default.
Realtime dragging or resizing or anything else is not practical in a web application where it requires continuous server round-trips to perform application-specific logic and then generate and load new images.

Your sample in :

Can i do an application like this with the code that I made in my default.aspx?

I mean object movable, linkable in real time.

Thanks for your help.

Yes, but that’s a Windows Forms app, not a Web Forms app. In other words, it requires every client to have the .NET Framework run-time installed. And it requires the use of Internet Explorer.