Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Using custom node types in ASP.NET (Read 1933 times)
newbieDraw
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 24
Joined: Dec 22nd, 2011
Using custom node types in ASP.NET
Jul 5th, 2013 at 3:32pm
Print Post  
Hi Stoyo,

I am trying to covert my windows mindfusion-based application to a web application using NetDiagram Silverlight. I create a class of custom nodes for my windows application. Please let me know how I can use them in the web application.

Registering the node class and setting the behavior to custom does not solve the problem.

thanks.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Using custom node types in ASP.NET
Reply #1 - Jul 5th, 2013 at 5:52pm
Print Post  
Hi,

You will be able to use these classes without modification only in ImageMap mode. You will have to port them to Silverlight if you want to use them in Silverlight mode. There is a"SilverlightApp" project installed with NetDiagram that builds the .xap file used as a front-end in SL mode: you will have to add your ported node classes to it, register them and rebuild the .xap file. In the server project it is enough to leave the property definitions and serialization code from your WinForms classes, to let you build the diagram model on server side. You might also want to leave any custom drawing code that renders the nodes through IGraphics, in case you will be using PDF or SVG exporters.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint