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.

Binding to an MVC model

Thread ID:

Created:

Updated:

Platform:

Replies:

114550 Nov 24,2013 11:35 PM Nov 27,2013 10:20 AM ASP.NET MVC (Classic) 1
loading
Tags: Diagram
Graeme Atkinson
Asked On November 24, 2013 11:35 PM

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,


Senthil Kumar M [Syncfusion]
Replied On November 27, 2013 10:20 AM

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


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.

;