Mvc1.0 Development Summary 3: mschart deployment

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.