Diagram.Web (Expander) not rendering

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?


3 Replies

MF Meera Fathima Syncfusion Team May 31, 2007 11:51 AM UTC


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.




DR Dave Robinson May 31, 2007 02:55 PM UTC

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.


RR Ramya R Syncfusion Team June 1, 2007 08:23 AM UTC

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.

Loader.
Up arrow icon