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

Allowing All Characters when loading Diagram Nodes from Controllers

Thread ID:





119894 Aug 11,2015 01:14 PM UTC Aug 12,2015 12:37 PM UTC ASP.NET MVC 1
Tags: Diagram
Ryan Obbink
Asked On August 11, 2015 01:14 PM UTC

Hi there,

Here are the specs that are currently being used.
VS 2013
.Net Framework 4.5.1

We are currently regression testing our system, and I am trying to get our Syncfusion diagram to load with the following characters without issue.  

  1. 0123456789 ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz~`!@#$%^&*()_-+={[}]|\:;"'<,>.?/£±§]*$#
  2. [""]

Right now I am trying to the number 2 string [""].

We are loading the Shape node from the controller as follows with Json Encoding:
Label.Name = "[\"\"]"
Label.Text = "[\"\"]"
FlowShape.Name = "[\"\"]"

In the view, when the following statement runs:

@Html.EJ().Diagram("Diagram", ViewData["DiagramModel"] as WebAppFast.Controls.Syncfusion.Diagramming.SfDiagramProperties)

we get the following error:

Error in VS dynamic build of view

Screenshot of debug session in controller:

Node Name in Controller

So, the question is, how do we format the data sending into the ViewData in the controller to have it render correctly in the view.  I'm assuming the render should be in a Json format as sent in or unicode, but that is just a wild guess.

Let me know what you find out.


- Ryan Obbink

Shyam G [Syncfusion]
Replied On August 12, 2015 12:37 PM UTC

Hi Ryan

Thanks for using Syncfusion products.

We suggest you to set label’s text as  string.Empty or “”  instead of "[\"\"]" to resolve your reported issue.  However node’s name should not be set as an empty.

Please let us know if any concerns.

Shyam G


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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