its a bit weird to me,i have a ajax call and a grid which shows the result,when i pick a date from yesterday to today it fine and even when i pick a date from 3days back to today the number of data is 7000 but still shows the data,the problem is when i pick a date from last week to today lets say 7 days,the number of data is around 14000 but ajax result shows me 1200!which is from yesterday to today!no idea hwy it happens
function getData(dtFrom, dtTo) {
$.ajax({
'async': false,
dataType: "json",
type: "POST",
url: "@Url.Action("EventEntries", "TestController")",
data: JSON.stringify({ "dtfrom": dtFrom, "dtto": dtTo }),
contentType: "application/json; charset=utf-8",
success:
function (result)
{ tmp = result }
});
debugger;
return tmp;
}