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. Image for the cookie policy date
close icon

Binding to an MVC model

Hi,
I am trying to use the data binding method to to create a digram. A simplistic view of what I am trying is as follows:
Populate model (IEnumerable<viewModel>) with data from database, using standard MVC methods.
Pass this model to view:
@model IEnumerable<viewModel> 
@Html.Syncfusion().Diagram("name").DataSource(Model).... etc
... mapping data elements as appropriate

The data is passed correctly - as seen through debug, but nothing is rendered. 
It occurs to me that it may not be possible to use this method, when I am not actually querying the data source from the view? Or perhaps there is actually a way to get this to work??

Many thanks,


1 Reply

SK Senthil Kumar M Syncfusion Team November 27, 2013 03:20 PM UTC

Hi Graeme,

 

Thanks for using Syncfusion products.

 

We have updated our response for your query in that incident 116410. Please refer that incident for better follow up.

 

Please let us know if any concerns.

 

Regards,

Senthilkumar M


Loader.
Live Chat Icon For mobile
Up arrow icon