In the middle of the system, the customer raised the need for chart analysis. This was a concern, although we saw the help on telerik's blog before that.ArticleTheir Ajax control already fully supports MVC, and I want to do some verification in the first time. The official product documentation does. When I did the test, I don't know why I can't render the chart at all times.CommunitySomeone is complaining, but it is not feasible.Solution The source code of the Forum developed by telerik using MVC + Ajax control has not been released.Http://demos.telerik.com/mvc/ Failed to debug the results. After one afternoon, I was very depressed and had to check whether other components were available. After reading this articleHowto-use-the-New-ASPnet-chart-controls-with-ASPnet-MVC I started to try again. It can be said that the article was very detailed, there was no accident, rendering was normal, which made me feel relieved, at least no longer have to worry about the function of chart analysis, we are glad that mscchart supports MVC.
After completing the functions as required, the deployment is the only thing left. At first, I deployed the company's test server Windows Server 2008. Obviously, mschart was installed, and then copiedCodeObviously, this is not acceptable,
1. in the webconfig file, <system. web>-> , Or not,
2. must be in the <system. webserver>-> 3. Create a new folder named tempimagefiles. Add the folder to the <shortetting> directory as follows:
<Add key = "chartimagehandler" value = "Storage = file; timeout = 20; Dir = c: \ tempimagefiles \;"/>
In this way, mschart is deployed, and the steps in IIS6 are basically the same as those in iis7.