Nevron Forum

NDiagramCallbackService is undefined

https://www.nevron.com/Forum/Topic6433.aspx

By Erik Jungnickel - Friday, June 8, 2012

Hello,
first, excuse me if I mix some things up or sth like that. I'm not very familiar with nevron and the whole asp stuff yet.

So, my problem:
I got a NDrawingView displaying several shapes. I now want to use click handlers but I always get the message "NDiagramCallbackService is undefined". What I tried was to just add the AjaxEnabled="True" attribute to my DrawingView and nothing else and even that gave me the error.

Then I tried to just copy & paste the example from this site: http://support.nevron.com/KB/a209/implement-click-double-click-events-the-diagram-aspnet.aspx and I got the same error.

The web.config should be configured as described in that link. The only difference in my project compared to the example is that I can not use the tag around my DrawingView because some parent page is already using it and I can not use Inherits="DiagramMouseEvents._Default" because the ascx file is already inheriting some other file.

Any suggestions?

Thanks.
By Nevron Support - Monday, June 11, 2012

Hi,

Please send a sample project that demonstrates the problem to support@nevron.com. We will check it out and tell you what's wrong.

We also recommend you take a look to the new web control we provide - the thin diagram web control, as it is more advanced and offers many new features. Loko at the "Diagram for .NET > Getting Started > Integrating ThinWeb Diagram" of the online documenentation.