Jonathan
Jonathan

Reputation: 15420

Using ASP.NET MVC with Javascript Google Charts

I wish to use Google organisational chart within my ASP.NET MVC project. I am however finding it difficult to get my head around how this would fit into the MVC architecture.

The Javascript to generate the chart will be contained in the head of my file and as this data will reguarly change, it needs to dynamically be created. Can anyone give me any tips on where to begin with this?

Upvotes: 1

Views: 1060

Answers (1)

Eonasdan
Eonasdan

Reputation: 7765

take a look at this page. Scott Gu talks about Sections in MVC 3. I've used this before to create a section in the head tag to place script block/styles that apply to only one page, this gives you the freedom to use page specific script/styles without make your DOM a jumbled mess.

Upvotes: 1

Related Questions