本文包含代码示例说明如何jQuery插件开发者可以集成到ASP.NET MVC应用程序。

  • 下载源代码- 87.4 KB

Introduction

The jQuery DataTables plug-in is an excellent client-side component that can be used to create rich-functional tables in the web browser. This plug-in adds lot of functionalities to the plain HTML tables that are placed in web pages such as filtering, paging, sorting, changing page length, etc.

This article shows how the jQuery DataTables plug-in can be integrated into an ASP.NET MVC application. It contains step by step examples that show how the DataTables plug-in interacts with server-side components.

This article do not cover all possible integration scenarios of JQuery DataTables plugin in ASP.NET MVC application. For other integation scenarios, you might also take a look at the other articles in this serie:

  • Part 2 - Implementation of CRUD functionalities (add, inline edit, delete) using DataTable in ASP.NET MVCwhere I have described how you can add data management (CRUD) functionalities such as adding, deleting and editing rows,
  • Part 3 - Reloading content of data tables in ASP.NET MVC where I have shown how you can reload DataTable content using Ajax,
  • Part 4 - Creating an expandable master-details table where I have shown how you can implement opening details row when regular row is selected,
  • Part 5 - jQuery DataTables Advanced Filtering in ASP.NET MVC - in this article is shown how you can implement advanced filtering,
  • Part 6 - Table Row Drag and Drop in ASP.NET MVC - in this article is descibed how you can use drag'n'drop row reordering.

Also, if you want to see all possible configurations of the JQuery DataTables plugin you might take a look at theEnhancing HTML tables using the jQuery DataTables plug-in article where are described many usefull configuration options.

转载于:https://www.cnblogs.com/fuqiang88/p/4716514.html

ASP.NET MVC和jQuery DataTable整合相关推荐

  1. 使用 asp.net mvc和 jQuery UI 控件包

    如果你使用asp.net mvc,而且使用的js库是jQuery, 那么一定别错过使用jQuery UI,使用jQuery UI 有个一套的mvc套件值得使用jQuery ASP.Net MVC Co ...

  2. Asp.net mvc 添加Jquery UI

    1.使用NuGet下载jquery ui Install-Package jQuery.UI.Combined 2.下载多语言文件: development-bundle/i18n目录下是jquery ...

  3. ASP.NET MVC实践系列5-结合jQuery

    现在做web开发肯定都听说过jQuery,jQuery在ASP.NET MVC被支持的很好,而且据说vs2010中也会集成进去,所以使用ASP.NET MVC了解jQuery肯定有莫大的好处,所以这里 ...

  4. ASP.NET MVC5微信公众平台整合开发实战教程

    <ASP.NET MVC5&微信公众平台整合开发实战(响应式布局.JQuery Mobile,Windows Azure.微信核心开发)> 课程讲师:57Code 课程分类:ASP ...

  5. ASP.NET MVC中使用AJAX(XMLHttpRequest、Microsoft AJAX Library......)

    AJAX的好处就是不会堵塞页面,可以提高用户体验,可以减少数据传输尺寸,提高应用程序的性能.目前,AJAX技术可以说是已经成为WEB开发的标准技术. AJAX技术是纯客户端技术,任何客户端框架(如:M ...

  6. ASP.NET MVC如何实现自定义验证(服务端验证+客户端验证)

    ASP.NET MVC通过Model验证帮助我们很容易的实现对数据的验证,在默认的情况下,基于ValidationAttribute的声明是验证被使用,我们只需要将相应的ValidationAttri ...

  7. 解决Asp.net Mvc返回JsonResult中DateTime类型数据格式的问题

    问题背景: 在使用asp.net mvc 结合jquery esayui做一个系统,但是在使用使用this.json方法直接返回一个json对象,在列表中显示时发现datetime类型的数据在转为字符 ...

  8. ASP.NET MVC 相关的社群与讨论区

    ASP.NET MVC 官方论坛  http://forums.asp.net/1146.aspx 台湾微软MSDN论坛 --- ASP.NET 与 AJAX(ASP.NET AND AJAX)讨论区 ...

  9. DayPilot——10分钟内用于ASP.NET MVC的AJAX每月事件日历

    目录 1.项目设置(00:00:00-00:03:00) 2. ASP.NET MVC视图(00:03:00-00:04:00) 3.茶歇(00:04:00-00:05:00) 4. ASP.NET ...

最新文章

  1. sqlite3里类似top的用法
  2. Design Pattern IDisposable Pattern C
  3. ES 處於“initializing”狀態,此時主節點正在嘗試將分片分配到集群中的數據節點。 如果您看到分片仍處於初始化或未分配狀態太長時間,則可能是您的集群不穩定的警告信號。...
  4. boost::mpl模块实现logical相关的测试程序
  5. Martix工作室考核题 —— 打印九九乘法表
  6. 山大计算机上机复试题目,2010年计算机复试上机 回忆
  7. 论文浅尝 | 用增强学习进行推理:问答与知识库完善(KBC)
  8. leetcode 484. Find Permutation 思维题
  9. 如何把开源项目发布到Jcenter
  10. FPGA设计技巧总结
  11. 家乡饮食文化PHP开题报告,挖掘家乡饮食文化拓展幼儿园课程
  12. 人不能活在舒适区里,我要趁年轻出去闯闯
  13. Linux服务器安全之 fail2ban的安装与配置
  14. spss中的aic值计算_常用SPSS数据处理方法,你都会吗?
  15. 家居品牌如何在小红书上推广?家居产品推广看这里
  16. jit流线制_JIT精益生产实务四—安定化生产.ppt
  17. 【图像处理技术】 | 黑科技解读 之 PS检测、弯曲拉平、切边增强、摩尔纹
  18. Java实现某个文件夹下文件和文件夹排序
  19. 转载:EditPlus下载安装及使用
  20. PMP备考之路 - 汪博士第六章(项目进度管理)

热门文章

  1. 用Java或Jsp向数据库存取二进制图片
  2. android 图片切换,仿百叶窗效果
  3. ***帮兄设计实战分析
  4. [小改进]Blog页面导航调整
  5. 学习js,尝试写一个表单验证框架(1)-规划
  6. 交互搜索中的自然语言理解技术
  7. ES6简单总结(搭配简单的讲解和小案例)
  8. 2---信息系统集成专业技术知识(精简题目)
  9. shell脚本 - 快速到达目录
  10. 数学之美 系列一 -- 统计语言模型