Problem load data with ajax and webmethod c#

Problem load data with ajax and webmethod c#

DarkyDarky Posts: 2Questions: 0Answers: 0

Hi, i have a solution in asp.net c# and want load data with webmethod. The json is:

d: "{"draw":1,"recordsTotal":57,"recordsFiltered":57,"data":[{"first_name":"first_name 0","last_name":"last_name 0","position":"position 0","office":"office 0","start_date":"start_date 0","salary":"salary 0"},{"first_name":"first_name 1","last_name":"last_name 1","position":"position 1","office":"office 1","start_date":"start_date 1","salary":"salary 1"}]}"

But the datatable not show the rows, i used the next example: http://datatables.net/examples/server_side/post.html

My solution can download in dropbox: https://www.dropbox.com/s/v71j9zi9mh43asj/TestLoadDinamicDataTable.zip?dl=0

And the information debug is: http://debug.datatables.net/odozor

Thanks...

Replies

This discussion has been closed.