DATATABLES WITH ASP.NET WEBFORMS
DATATABLES WITH ASP.NET WEBFORMS
f.dalpozzo
Posts: 8Questions: 0Answers: 0
Hi all, i'm implementing a simple CRUD interface for managing data with ASP.NET 3.5 WEBFORMS.
I use JSON notation for returning data.
I tried to list some data using parameters "sAjaxSource", but nothing good.
How can I do?
Thanks in advance
[code]
...
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "/handlers/LoadTipiColture.asmx/getTipiColture",
"fnServerData": function(sSource, aoData, fnCallback) {
$.ajax({
"dataType": 'json',
"type": "POST",
"url": sSource,
"data": aoData,
"success": fnCallback
});
}
...
[/code]
I use JSON notation for returning data.
I tried to list some data using parameters "sAjaxSource", but nothing good.
How can I do?
Thanks in advance
[code]
...
"bProcessing": true,
"bServerSide": true,
"sAjaxSource": "/handlers/LoadTipiColture.asmx/getTipiColture",
"fnServerData": function(sSource, aoData, fnCallback) {
$.ajax({
"dataType": 'json',
"type": "POST",
"url": sSource,
"data": aoData,
"success": fnCallback
});
}
...
[/code]
This discussion has been closed.
Replies
Allan
The code I posted does not work and the grid stay blank.
My goal is to build a grid compatible with the ASP.NET 3.5 WebForm with
- insert feature
- edit
- delete
using Ajax.
Allan