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

Binding to an MVC model

Thread ID:





114550 Nov 25,2013 04:35 AM UTC Nov 27,2013 03:20 PM UTC ASP.NET MVC (Classic) 1
Tags: Diagram
Graeme Atkinson
Asked On November 25, 2013 04:35 AM UTC

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,

Senthil Kumar M [Syncfusion]
Replied On 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.



Senthilkumar M


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