I added the httpHandler line and also set the references to "copy local" and the problem went away. However the "script" tag is not in the source of the page.
My next problem... I want tooltips and clickable nodes on my spring diagram. I've added code to accomplish this, but yet nothing renders in the browser (no tooltip or clickable link).
The code is here...
for (int i = 0; i < technologies.Count; i++)
{
NShadowStyle ns = new NShadowStyle(Color.Black);
technologies[i].m_Shape.Style.ShadowStyle = ns;
technologies[i].m_Shape.Style.ShadowStyle.FadeLength = new NLength(2);
technologies[i].m_Shape.Style.ShadowStyle.OffsetX = new NLength(1);
technologies[i].m_Shape.Style.ShadowStyle.OffsetY = new NLength(2);
NInteractivityStyle xxx = new NInteractivityStyle(true, "1", "test tooltip", CursorType.Arrow, "http://my.yahoo.com");
xxx.GenerateImageMapObject = true;
xxx.GeneratePostback = true;
technologies[i].m_Shape.Style.InteractivityStyle = xxx;
Document5 = NDrawingView5.Document;
Document5.EventSinkService.NodeClick += new NodeViewEventHandler(EventSinkService_NodeClick);
if (technologies[i].m_Enables == null)
{
for (int x = 0; x < technologies.Count; x++)
{
if (x == i)
continue;
if (technologies[x].m_Enables == technologies[i])
{
NDrawingView5.Document.ActiveLayer.AddChild(technologies[i].m_Shape);
break;
}
}
}
else
{
NDrawingView5.Document.ActiveLayer.AddChild(technologies[i].m_Shape);
}
}