当前位置:网站首页>How to deploy Gantt chart quickly and correctly

How to deploy Gantt chart quickly and correctly

2020-11-06 22:22:01 roffey

Deploy the Gantt Chart

In our installation <install path="">\Src The files under the folder should usually be in your web Reference in page , And should be deployed in your server as well .</install> Let's take a closer look at the contents of this folder :

  • Script —— Contains all that the Gantt script needs jQuery Utilities / plug-in unit / Widget files and jQuery Gant script file .
  • style ——CSS And image files , Define the look and feel of Gantt .
  • The theme — Gant used CSS And image file plugins and widgets .
  • ResourceStrings—— The localized string dictionary is defined here . Default English string ( Required by default ) And a few other culture strings will be loaded from these files . If the default supported dictionary is not enough , You can add more localized string dictionaries .
  • bin—— Include should be in ASP It is quoted in jQuery Gantt MVC Extension assembly . net MVC project .

json Notes on documents

 

The server must be set up to support json Extension file upload .

By default , The server does not provide .json file type ( There are no wildcards MIME type ). therefore , When they are accessed 404 not found. therefore , You must add MIME Type to allow it to provide files of that type . You can set it at the site level or the server level .

To be in IIS Set this setting for the entire server :

stay IIS In the manager, open the properties of the server and click MIME type

single click “ new ”. Input “json” As an extension , Input “application/data” As MIME type .

stay IIS Set site level in :

If you want to manually add support to your site , You can add the following to your web in . Configure... In the system . Network server :

 

<staticContent>
    <mimeMap fileExtension=".json" mimeType="application/data" />
</staticContent>

Be careful Date.js file

 

You can see that there is a Src\Scripts\Utils\date.js file , This is a file that must be included in your page .

For the global scene , You should include one of several extension files based on the current running culture of the page . for example , If you run in German culture , You should also include this in your page js file :Src\Scripts\Utils\ Globalization \de-DE.js.

Single HTML Example

stay IIS Deploy a single Gantt in HTML Example
ad locum , We will complete the example ( Part of the installation ) Deploy to IIS The steps involved in the server .
To be in IIS Deploy a single Gantt sample in , The following files need to be copied from the installation path to the server .
RadiantQ jQuery Gantt Package\Samples\GanttControlSkeleton.htm
RadiantQ jQuery Gantt Package\Samples\GanttControlSkeleton.json
RadiantQ jQuery Gantt Package\web.config
RadiantQ jQuery Gantt Package\Src (exclude the bin folder).

 

 jQuery Gantt Package Use the tutorial : How to deploy a Gantt Chart

IIS Files in the server path

 jQuery Gantt Package Use the tutorial : How to deploy a Gantt Chart
stay IIS The same file in the manager


As mentioned in the previous topic of deploying Gantt , Make sure . JSON Of mime type , So that the server can provide examples JSON file .

 jQuery Gantt Package Use the tutorial : How to deploy a Gantt Chart
stay IIS Added in JSON Mime type
 jQuery Gantt Package Use the tutorial : How to deploy a Gantt Chart
In the local IIS Examples running in

 

Related product introduction :

VARCHART XGantt Support ActiveX、.Net Equal platform C# Gantt chart control
AnyGantt Ideal tool for building complex and rich Gantt charts
phGantt Time Package A Gantt chart for the management of assignments and time
dhtmlxGantt Interactive JavaScript / HTML5 Gantt Chart


 

Want to buy a genuine Gantt chart license , Or for more product information, please click 【 Consult online customer service 】

版权声明
本文为[roffey]所创,转载请带上原文链接,感谢