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.