NetDiagram doesn't use a dll, but the JDiagram applet packed in a .jar file. You could load the applet like this:
<applet id="fc" code="com.mindfusion.jdiagram.FlowChartApplet.class" archive="JDiagram.jar" width="640" height="480" mayscript>
<PARAM NAME="BoxCreated" VALUE="onBoxCreated">
<PARAM NAME="BoxCreating" VALUE="onBoxCreating">
</applet>
The PARAM tags let you handle events on the client side using JavaScirpt functions, unlike an OBJECT tag that loads Flowchart.NET.dll.
To access the JDiagram API functions, you must get the FlowChart object from the applet, e.g.
GetElementById('fc').getFlowChart().createBox(0, 0, 50, 50);
The SaveToString and LoadFromString methods of the applet object (return by GetElementById('fc')) let you save or load the diagram contents as zipped and base64 encoded XML data. You can use them on the client side in a manner similar to the Flowchart.NET.dll-in-an-OBJECT scenario.
The difference is that on the server side you cannot use FlowChart.SaveToString and LoadFromString, but must use System.Convert.FromBase64String(), System.Convert.ToBase64String() and GZipStream, all available from the .NET base class library. They let you encode or decode the diagram XML data to/from the format that the applet string-serialization methods use. The actual XML content is the one you get from the Flowchart.NET's XmlWriter and can read using XmlReader.
Stoyan