When selecting any object in my project goview shows me an inspector with node data.
Can you tell me more about your application configuration?
Yes, I can of course, Jake:
OK… from what I know now, I can point you at the FlowCharter sample. http://www.godotnetweb.com/FlowCharter/WebForm1.aspx
In this app, you can select a node, get the “edit box” for the label, and then zoom in / zoom out without losing that context.
Perhaps if you look at that, you’ll see how to resolve your issue.
Thank you Jake,
If you look at Goweb.js, you’ll see event handlers like goDoClick define goInfo by doing a goFindInfoAt(x,y,id).
But this happens on the client side as the result of a user action. What you want is to “push” that state from the server. And it just isn’t set up to work that way.
There is a way of doing what you want, but it requires a little more work on your part.
One feature hook in GoWeb.js is to call a javascript function goOnLoad if it is defined in the page in goAfterLoad. So… after ever load of the GoView image, you get a call to your goOnLoad function.
You could pass some info to the goOnLoad by overriding the DataRenderer.
OR, for example, if you were using AJAX in your panel, you could just do this:
In your .ASPX , add this:
// after the GoView has loaded new img, update the UpdatePanel1.
function goOnLoad(id, reload) {
__doPostBack(‘UpdatePanel1’, ‘’);
}
Thank you, Jake
with some java script it works for me