5

如何在 Visual Studio 2010 中设置 Kendo UI?

4

2 回答 2

3

检查这个示例应用程序,如Kendo UI 和 ASP.NET WebForms:构建任务管理器,这里是开始使用它的步骤。

- In Visual Studio, create a new ASP.NET Web application.
- Download Kendo UI.
- From the Kendo UI download, I copied the following files into the TaskManager/Scripts folder:     
     1.js/jquery.min.is   
     2.js/keno.all.min.js
- In the TaskManager application I created a new folder called "kendo" in the /Content folder.

 - From the Kendo UI download, copy the following files / folders into the /Content:     
    1.styles/kendo.common.min.css    
    2.styles/kendo.silver.min.css   
    3.styles/Silver (folder)

在头部包括这些:

<head>
<title></title>
    <link href="Content/kendo/kendo.common.min.css" rel="Stylesheet" type="text/css" />
    <link href="Content/kendo/kendo.silver.min.css" rel="Stylesheet" type="text/css" />
    <link href="Content/Site.css" rel="Stylesheet" type="text/css" />

    <script src="Scripts/jquery.min.js" type="text/javascript"></script>
    <script src="Scripts/kendo.all.min.js" type="text/javascript"></script>
    <script src="Scripts/json.extensions.js" type="text/javascript"></script>
</head>

前往Codeplex - Kendo UI ASP.NET 示例应用程序,了解 Kendo 的示例和用法。

于 2012-03-23T05:42:38.967 回答
2

简单你需要的就是这个

开始设置 开始创建一个新的 ASP.Net 空 Web 应用程序。

在此处输入图像描述

注意:您真的可以使用任何您喜欢的基于 Web 的项目模板,在本演练中,我只是选择从零开始。:)

项目加载后,启动 NuGet 包管理器控制台。

此处:NuGet NuGet 是一个 Visual Studio 扩展,可轻松在 Visual Studio 中安装和更新第三方库和工具。(如 J 查询和 Kendoui 文件)

使用以下命令将 JQuery 添加到项目中:

安装包 jQuery

使用以下命令将 KendoUI 添加到项目中:

安装包 KendoUIWeb

运行这两个 NuGet 命令后,解决方案资源管理器应如下所示:

在此处输入图像描述

来源:看看

于 2012-08-11T18:11:43.137 回答