Profile Picture

Tutorial for using Nevron chart with MVC

Posted By Craig Nicholas 12 Years Ago
Author
Message
Craig Nicholas
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 2, Visits: 1
Hello,
Thanks for your reply.
I also need more basic information with regard to preparing and using a Nevron chart.
I've looked in the Getting Started topics in the documentation but no match as yet.
It would greatly help speed up familiarisation.
Can you point me in the right direction?

Thanks
Craig


Nevron Support
Posted 12 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi Craig,

There is no special tutorial for MVC as the integration is really simple. You can send the project for review to support@nevron.com.

Regarding the integration - in general the control has three types of output in the case of MVC:

1. Script (executed when the page is rendered)
2. Content (executed when the page is rendered)
3. Update (executed when the chart has to be updated)

1 and 2 are called only once when the control is initially rendered and 3 is called when AJAX calls to the server are processed. Those entry points are exposed as actions in the controller class you create.

Those entry points can produce either text or binary output - therefore you need to implement a class that derives from PartialViewResult and render the specified output.

Overall you need to implement 2 classes to integrate the control - controller and result - that's all. We've opted not to put them in the thinweb assembly as it would require a reference to the Mvc assemblies, which may not be present on older versions of the ASP.NET framework.

Hope this helps - let us know if you need assistance or have any questions or comments.



Best Regards,
Nevron Support Team



Craig Nicholas
Posted 12 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 12 Years Ago
Posts: 2, Visits: 1
Hello,
I would like to get a quick understanding of how to work with the Nevron chart with MVC.

I've gone through the single topic Integrating In MVC under Integrating Thinweb Client in in the USer Guide and I've managed to customise it to use my own database as a data source but it was a bit hit and miss.


Is there a tutorial that explains working with a chart in MVC for someone with early experience with C# and ASP.NET MVC?

If not, is there a basic set of steps with links to the appropriate topics in the user guide?

Thanks

Craig



Similar Topics


Reading This Topic