Hello,
I am taking Json data from asp file by sending some parameters in DataModel.
Datas I am sending are like 13%MK_13. I mean I am using "%" and "_" operators to use in sql and sometimes I a using Turkish characters. However if there are ascii characters, I can not send datas.
Can I send datas which are requested as additional to url, to URL via POST method in dataModel?
It sends below values to the file in url:
pq_curpage=1,
pq_datatype=JSON,
pq_rpp=100
I want to do the same way:
KOD= 13%MK_13
dataModel: {
//recIndx: "Id",
location: "remote",
sorting: "remote",
paging: "remote",
dataType: "JSON",
method: "POST",
//sortIndx: "Id",
//sortDir: "down",
colIndx:"Id",
url: "json.asp?isl=Json&OZEL1=<%=Request("OZEL1")%>&OZEL2=<%=Request("OZEL2")%>&GRUP=<%=Request("GRUP")%>&KOD=<%=Request("KOD")%>",
curPage: 1,
rPP: 100,
rPPOptions: [1, 10, 20, 30, 40, 50, 100, 500, 1000],
getData: function (dataJSON) {
return {curPage: dataJSON.curPage, totalRecords: dataJSON.totalRecords, data: dataJSON.data };
}
},
Thanks