Answers for "load data dynamically on page scroll using jquery ajax and mvc"

0

load data dynamically on page scroll using jquery ajax and mvc

public ActionResult FetchData(int skipCount, int takeCount)
{
  var model = db.MyObjects.OrderBy(x => x.SomeProperty).Skip(skipCount).Take(takeCount);
  if (model.Any())
  {
    return PartialView("_ResultList", model);
  }
  else
  {
    return null;
  }
}
Posted by: Guest on March-03-2021

Code answers related to "load data dynamically on page scroll using jquery ajax and mvc"

Code answers related to "Javascript"

Browse Popular Code Answers by Language