Using 4.2, right?
I really don’t know how many people are using SQLserver, but we don’t know of any problems in the latest release.
Can you reproduce the problems with a simpler sample?
Thanks for the quick reply. We are on a 3.x version so we will upgrade first if that is what you recommend.
Always a good first step.
Hi Jake,
We have upgraded to 4.2. We are still having the same issue.
Scott
ok, I’ll take a look.
what version of .NET are you using?
OK, this should have been obvious to me with your comment about events…
I’m guessing that the problem is that the event handlers you have defined are not being serialized. (Event handlers are usually not serializable.)
One way around this is to subclass/inherit from GoView and override the corresponding On… methods.
We are subclassing it now - based on a forum post we came acrossed we attempted to inherit the goview and add the event handlers.
I also think this will work:
public class BasicAppView: GoView
{
public override void OnNoPostLoad() {
base.OnNoPostLoad();
WebForm1 wf = this.Page as WebForm1;
this.LinkCreated += new Northwoods.GoWeb.GoSelectionEventHandler(wf.MyView_LinkCreated);
this.BackgroundDoubleClicked += new Northwoods.GoWeb.GoInputEventHandler(wf.MyView_BackgroundDoubleClicked);
}
}
But I can’t get Visual Studio to recognize this in the .aspx file:
<%@ Register TagPrefix=“BasicApp” Namespace=“BasicApp” %>
and
<<font color="#ff0000">BasicApp:BasicAppView </font>id="MyView" tabIndex="2" runat="Server" NoPost="true" ImagePage="GoWebImage.axd" ScriptFile="GoWeb.js" CssFile="none" Height="400px" Width="650px"></<font color="#ff0000">BasicApp:BasicAppView</font>>
although our samples (like TreeApp) do this same thing. VS gets “Unknown server tag ‘BasicApp:BasicAppView’”
(note I have to make the event handlers “public” to do the OnNoPostLoad.)
Look at the TreeApp sample. It defines a TreeAppView.