ASP. NET Mvc+easyui+entity FrameWork integrated development

Source: Internet
Author: User
Tags jquery library

This article explains in detail how to develop a project using the ASP. NET Mvc+easyui+entity FrameWork

For the JScript Library of ASP. NET MVC, the primary reference

<script type="Text/javascript"Src="@Url. Content ("~/scripts/jquery-1.7.2. min.js")"></script><script src="@Url. Content ("~/scripts/jquery.validate.min.js")"Type="Text/javascript"></script><script src="@Url. Content ("~/scripts/jquery.validate.unobtrusive.min.js")"Type="Text/javascript"></script>
<script src="@Url. Content ("~/scripts/jquery.unobtrusive-ajax.min.js")"Type="Text/javascript"></script>

Now, of course, the jquery supported by ASP. MVC4 is Jquery-1.8.2.min.js

Eusyui, I'm using the latest version of 1.3.6.

<link rel="stylesheet"Type="Text/css"href="@Url. Content ("~/plugins/easyui-1.3.6/themes/default/easyui.css")"/> <link rel="stylesheet"Type="Text/css"href="@Url. Content ("~/plugins/easyui-1.3.6/themes/icon.css")"/> <script type="Text/javascript"Src="@Url. Content ("~/scripts/jquery-1.7.2. min.js")"></script> <script type="Text/javascript"Src="@Url. Content ("~/plugins/easyui-1.3.6/jquery.easyui.min.js")"></script>

Note that the EasyUI1.3.6 jquery library itself is more than 2.0, but the Jquery2.0 version is conflicting with the validation script library and the asynchronous commit script library in MVC.

And EasyUI1.3.6 uses jquery-1.7. The 2.min.js can still work. So for jquery I use jquery-1.7. 2.min.js , this is the key, if the use of the wrong, JQ will continue to error.

Here is a demo that I randomly developed

List page:

Popup Modify Page:

Everything is running normally.

Article using the editor is Baidu Rich Text editor

This group provides ASP. NET Mvc,ef,linq,web API technical support, do not care about people, care about human spermatogonial.
ASP. NET MVC Group 171560784
Invite all the experts, beginners to join.

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.