Using Datatables.net JQuery Plug-in with WCF Services part Duex

by jmorris 29. April 2011 23:51

My older post on using the JQuery Datatables plugin with WCF has been a very popular post, even now, a year later. One thing that people keep asking for and I never have gotten around to doing, is posting the source code. The original post was based upon code I used within the company that I worked for and definitely could not release, however, i was able to strip out and/or stub most of the dependencies and post a working example on github:

https://github.com/jeffrymorris/DataTablesWCFExample

I hope this helps :)

Tags:

Comments (6) -

Michael Gokey
Michael Gokey
4/30/2011 4:13:31 AM #

I tried out your latest code and getting an undefined error for nNodes in the ArticleListTable_Init function. I'm I missing something.

Thanks,

Mike

jeff
jeff
5/1/2011 1:36:41 AM #

I'll take a look at it...I threw that together from some old test code, so the JQuery/datatables versions might be off.

jmorris
jmorris
5/3/2011 6:34:16 PM #

I removed the ArticleListTable_Init  call which resolved the undefined error for nNodes. The point of the example was to illustrate paging with WCF, so that function which adds highlighting for the row on hover, isn't really necessary. The code is pretty fugly, so at some point I'll probably refactor it into something that shows better practice as well Smile

Aryan
Aryan
6/6/2011 7:34:29 PM #

Hello Jeff Morris i need complete example of datatable+MSSQLSERVER+Jquery+WCF
using edit ,update ,paging.sorting,search
i You have so please mail
i need this and want to use this technology in my project
Thanks

Schnell Abnehmen
Schnell Abnehmen
9/29/2011 11:18:07 AM #

Exactly what i was looking for. Thanks for the plugin Smile

nick
nick
12/30/2011 9:10:27 PM #

I opened this solution in VS2010 and tried running it, but nothing shows up on the default.aspx page. Am I missing something?

Jeff Morris

Tag cloud

Month List

Page List