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.
Unfortunately, activation email could not send to your email. Please try again.

Diagram.Web (Expander) not rendering

Thread ID:

Created:

Updated:

Platform:

Replies:

61710 May 31,2007 06:43 AM Jun 1,2007 04:23 AM ASP.NET Web Forms (Classic) 3
loading
Tags: DiagramWebControl
Dave Robinson
Asked On May 31, 2007 06:43 AM

I have downloaded and installed EssentialStudio to evaluate the Diagram.Web for one of our custom reports. The example Expander Solution works fine and seems to be exactly what we want (with client callback) however no matter what I try I cannot create an instance of diagramwebcontrol in our project and load our data. I have ensured that the correct dll's are in the bin directory but the diagram will not render (placeholder in the web page with the standard red cross).

I took a step back and created a blank aspx page (in the same project) and dragged a new DiagramWebControl from the toolbox onto the page. I created an Images folder and copied the SimpleOrgChart.edd file. In the page load event I called 'DiagramWebControl.LoadBinaryDocument' passing in the path to this diagram. Simple? I still get the same problem rendering the diagram (placeholder in the web page with the standard red cross).

I have trawled the forums, knowledge based, open issues and help files and can find no reference to this or any other settings that I need. I am sure I have missed something very simple...can anyone help me get past this?


Meera Fathima [Syncfusion]
Replied On May 31, 2007 07:51 AM


Hello Robinson,

Thank you for using Essential Diagram.

Regarding your query, you need to add the handler to the web.config file in order to render the diagram control on the web page. Please add the following code snippet into the application's Web.config file.





Please refer My Documents\Syncfusion\EssentialStudio\5.1.0.51\Web\diagram.web\Samples\2.0\web.config file to know how to add this handler tag and let me know if you have any more questions regarding this.

Thanks,
Meera.



Dave Robinson
Replied On May 31, 2007 10:55 AM

Meera,

Thanks for the reply...I tried your suggestion and that got me past my first issue. I can now see the details in a blank project. I attempted to create an example with some 'real' details in an existing project and I get the error "Failed to map the path '/syncfusion'". Reading the help files and the examples it seems to point to not having the correct dll's in the bin directory. However, I have the same dll's as the blank project (which will now display the syncfusion examples).

Thanks for your help.

Ramya R [Syncfusion]
Replied On June 1, 2007 04:23 AM

Hi Dave,

Thank you for the update.

This error generally occurs when the Syncfusion virtual directory is not configured in IIS.

This can be overcomed by running the Re-Install Syncfusion virtual directories setup from the 5.1.0.51 dashboard.

If the problem still persists, could you please send us a sample which reproduces this issue alongwith some screenshots, so that it would help us in analyzing the issue.

Thanks & Regards,
Ramya.

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.

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.

;