We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Httphandlers issue

Thread ID:

Created:

Updated:

Platform:

Replies:

67247 Aug 10,2007 05:26 PM UTC Aug 14,2007 07:12 AM UTC ASP.NET Web Forms (Classic) 6
loading
Tags: DiagramWebControl
George H
Asked On August 10, 2007 05:26 PM UTC

I not sure how to get this to work (5.1 Diagram, asp.net 2). The httphandlers doesn't work with: "Could not load type 'Syncfusion.Web.Forms.Diagram.DiagramRenderHandler' from assembly 'Syncfusion.diagram.web'."

I've added the 5 dll to /bin, made a reference to them. I've tried build/rebuild, removed and re-added to bin, etc.

I have my app running with a different diagram comp and would like to see how your's works before I make final decision.

What am I missing to make it run.

Second question, can a node link back to itself (self-reference).

Thanks.

J.Nagarajan [Syncfusion]
Replied On August 10, 2007 10:03 PM UTC

Hi Kaiser,

The diagram web control uses a custom HTTP handler for processing client requests for rendering the diagram image on to the web page. Open the application's configuration file (the web.config) and add the declarative for a HTTP handler that maps incoming rendering requests to the Essential Diagram handler. Please add the below line into your web.config file.(before closing the system.web tag)






I have attached the web config file for v.5.1.0.51. Please refer to it and let me know if you have any questions.

http://www.syncfusion.com/Support/user/uploads/web_43f85041.zip

Please let me know if the above details are helpful to you.

Thanks,
Nagaraj


George H
Replied On August 11, 2007 01:22 AM UTC

Thanks, that fixed it. Those are different handlers from the downloaded docs.

Are the handlers referencing the dlls in the /bin or GAC? I need to have them reference the /bin dlls if that's not the case.

About the other question...can a node link back to itself?

Melba Winshia [Syncfusion]
Replied On August 13, 2007 02:04 PM UTC

Hi Kaiser,

Thank you for the update.

Issue 1: (Are the handlers referencing the dlls in the /bin or GAC)
-------

The handlers refer the dlls in the GAC.

Issue 2: (can a node link back to itself)
-------

Yes. A node can link back to itself by using the below code snippet.

[C#]

SplineNode line = new SplineNode(nodeRectHost.PinPoint, nodeRectHost.PinPoint, new PointF(35, 150));
Decorator decor = line.HeadDecorator;
decor.DecoratorShape = DecoratorShape.FilledFancyArrow;
decor.Size = new SizeF(12, 9);
decor.FillStyle.Color = Color.MidnightBlue;
decor.LineStyle.LineColor = Color.MidnightBlue;
this.DiagramWebControl1.Model.AppendChild(line);

//Connect the port.
nodeRectHost.Ports[1].TryConnect(line.HeadEndPoint);
nodeRectHost.Ports[2].TryConnect(line.TailEndPoint);

Please try running the above sample and let me know if this helps.

http://websamples.syncfusion.com/samples/Diagram.Web/5.1.0.51/67247/main.htm

Please try this and let me know if this helps.

Thanks,
Melba

Melba Winshia [Syncfusion]
Replied On August 13, 2007 02:04 PM UTC

Hi Kaiser,

Thank you for the update.

Issue 1: (Are the handlers referencing the dlls in the /bin or GAC)
-------

The handlers refer the dlls in the GAC.

Issue 2: (can a node link back to itself)
-------

Yes. A node can link back to itself by using the below code snippet.

[C#]

SplineNode line = new SplineNode(nodeRectHost.PinPoint, nodeRectHost.PinPoint, new PointF(35, 150));
Decorator decor = line.HeadDecorator;
decor.DecoratorShape = DecoratorShape.FilledFancyArrow;
decor.Size = new SizeF(12, 9);
decor.FillStyle.Color = Color.MidnightBlue;
decor.LineStyle.LineColor = Color.MidnightBlue;
this.DiagramWebControl1.Model.AppendChild(line);

//Connect the port.
nodeRectHost.Ports[1].TryConnect(line.HeadEndPoint);
nodeRectHost.Ports[2].TryConnect(line.TailEndPoint);

Please try running the above sample and let me know if this helps.

http://websamples.syncfusion.com/samples/Diagram.Web/5.1.0.51/67247/main.htm

Please try this and let me know if this helps.

Thanks,
Melba

George H
Replied On August 14, 2007 12:43 AM UTC

Thanks. So what happens if the dlls can not be loaded into the GAC on a remote server?


Melba Winshia [Syncfusion]
Replied On August 14, 2007 07:12 AM UTC

Hi,

Thank you for the update.

The Syncfusion assemblies need to be in the bin folder that is beside the aspx files while deploying. You can refer the below link to get more details regarding deploying Essential Studio for ASP.NET.

http://www2.syncfusion.com/ug/Default.aspx##Essential%20Studio.chm/StartedBase/DeployingEssentialStudioForASPNET.html
http://www.syncfusion.com/Support/user/uploads/webdeploy_8b7da45e.pdf

Please let me know if you have any other question.

Thanks,
Melba

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;